1.<class 'bs4.element.ResultSet'>  这里是字典外套了一个列表  textPid = pid[0]

2.<class 'bs4.element.Tag'>   print(textPid.get_text())

相关文章:

  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2021-08-23
猜你喜欢
  • 2021-08-21
  • 2022-12-23
  • 2021-06-16
  • 2021-07-16
  • 2022-12-23
  • 2021-11-06
相关资源
相似解决方案