dataabc / weiboSpider

新浪微博爬虫,用python爬取新浪微博数据
8.37k stars 1.98k forks source link

同样是设置爬取范围,但是爬了不到2%就结束了 #452

Closed AhrendsSchmidt closed 2 years ago

AhrendsSchmidt commented 2 years ago

为了更好的解决问题,请认真回答下面的问题。等到问题解决,请及时关闭本issue。

答:github版

答:是

答:是

答:

答:

答: 'NoneType' object has no attribute 'xpath' Traceback (most recent call last): File "G:\weiboSpider-master\weiboSpider-master\weibo_spider\spider.py", line 179, in get_weibo_info weibos, self.weibo_id_list, to_continue = PageParser( File "G:\weiboSpider-master\weiboSpider-master\weibo_spider\parser\page_parser.py", line 45, in init info = self.selector.xpath("//div[@class='c']") AttributeError: 'NoneType' object has no attribute 'xpath' 共爬取220条原创微博 信息抓取完毕

dataabc commented 2 years ago

被暂时限制了,一段时间后限制会自动解除。

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

Closing as stale, please reopen if you'd like to work on this further.