beautifulsoup TypeError: object of type 'NoneType' has no len()

 

BeautifulSoup (html, 'lxml') 
to check whether the empty html

Guess you like

Origin www.cnblogs.com/yanxiatingyu/p/11872266.html