爬虫
皇马杀疯了
这个作者很懒,什么都没留下…
展开
-
爬虫抓取微博文章
爬虫抓取微博文章原创 2017-04-26 19:37:45 · 2761 阅读 · 0 评论 -
AttributeError: 'NoneType' object has no attribute 'text' 结果发现是html解释器的锅
爬取错误:Traceback (most recent call last):File “D:/PythonProject/DirtyText/test.py”, line 56, in ‘span’,attrs={‘class’: ‘ct’}).text.replace(’\xa0’, ’ ‘).replace(’:’, ‘-’).split(’ ')[:2])AttributeErro...原创 2019-04-06 19:49:07 · 3719 阅读 · 0 评论