美文网首页
Python爬虫报错问题记录

Python爬虫报错问题记录

作者: 进击的程序茗 | 来源:发表于2020-10-23 16:30 被阅读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参数

相关文章

网友评论

      本文标题:Python爬虫报错问题记录

      本文链接:https://www.haomeiwen.com/subject/mawvmktx.html