Python Beautiful soup how to find li in ul?

后端 未结 0 1781
梦谈多话
梦谈多话 2021-01-16 04:01
for i in soup.find("ul",attrs={"class":"clearfix"}):
     for durum in i.find_all(\'li\'):
         print(durum)

I wan

相关标签:
回答
  • 消灭零回复
提交回复
热议问题