soup = BeautifulSoup(html,"html.parser") html=soup.select("table a") for k in html: print(k.string) print(k['href']) 相关文章: 2021-12-14 2022-02-11 2021-12-03 2022-02-07 2022-12-23 2021-08-26 2021-11-17