TypeError: object of type 'NoneType' has no len()
mumu0419 opened this issue · comments
Eason commented
我在豆瓣top250那个案例里,运行文件,报错TypeError: object of type 'NoneType' has no len(),
报错语句是 soup = BeautifulSoup(html, 'lxml')
请教这个怎么解决,是什么原因?
Eason commented
#13 (comment)
这个老哥说了一个解决方法,解决了我的这个问题,感谢