(1)AttributeError: ‘NoneType’ object has no attribute 'find’
- 解决方法1:
- 可能是html出现错误了吧
rep=requests.get(url,headers=header,timeout=timeout)
rep.encoding='utf-8'
尽可能采用requests
(1)AttributeError: ‘NoneType’ object has no attribute 'find’
rep=requests.get(url,headers=header,timeout=timeout)
rep.encoding='utf-8'
尽可能采用requests