python beautifulsoup爬虫基础问题求指点

python beautifulsoup爬虫基础问题求指点
【python beautifulsoup爬虫基础问题求指点】

■网友
bs=BeautifulSoup(html,"html.parser")element_link=bs.find_all(\u0026#39;div\u0026#39;,class_="element")把class_=\u0026#39;xxxx\u0026#39; 改成你要的属性就可以了。http://beautifulsoup.readthedocs.org/en/latest/官网文档。一般我都是用的时候才去查。没必要死记。


    推荐阅读