Closed xtll closed 4 years ago
我这边测试正常,请问报错的代码行数和爬取的话题是什么?
全部错误代码:
Traceback (most recent call last):
File "D:/pycharm/weibo3.0/weibo-topic.py", line 198, in
知道问题所在了,本项目是微博超级话题爬虫,而“江苏响水爆炸”不是微博超级话题,程序找不到超级话题框,所以报错了,我稍微修改了一下,你可以直接运行下面的代码爬取关于江苏响水爆炸的微博数据(将以下代码覆盖粘贴到weibo-topic-spyder.py,其他项目文件不变)
项目已更新,添加普通话题爬取代码
报错: selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element