Python爬虫报错问题记录

2020-10-23  本文已影响0人  进击的程序茗
UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

解决方式:

BeautifulSoup(data[1],"lxml")

BeautifulSoup增加lxml参数

上一篇 下一篇

猜你喜欢

热点阅读