How to find all divs who's class starts with a string in BeautifulSoup?

后端 未结 2 409
攒了一身酷
攒了一身酷 2020-12-11 00:40

In BeautifulSoup, if I want to find all div\'s where whose class is span3, I\'d just do:

result = soup.findAll(\"div\",{\"class\":\"span3\"})
2条回答
提交回复
热议问题