py求助
  • 板块学术版
  • 楼主lishitang
  • 当前回复1
  • 已保存回复1
  • 发布时间2024/3/17 10:32
  • 上次更新2024/3/17 11:57:07
查看原帖
py求助
736900
lishitang楼主2024/3/17 10:32
s=BeautifulSoup(html,"html.parser")
tt=s.findAll("p")
for title in tt:
    title_string=title.string
    if "/" not in title_string:
        print(title_string)

为什么会报错

2024/3/17 10:32
加载中...