Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser
python 小白,Java程序员闲来无事研究了下python爬虫,在执行如下代码:import requestsfrom bs4 import BeautifulSoupurl = 'http://www.weather.com.cn/weather/101230101.shtml'header = {'User-Agent': 'Mozilla/5.0 (Windows NT 10....
原创
2019-07-31 13:06:45 ·
2276 阅读 ·
1 评论