dataabc / weiboSpider

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

爬取大量微博内容如何解除限速 #603

Open bareawayme opened 2 days ago

bareawayme commented 2 days ago

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

答:github版

答:是

答:是

答:

答:

答:**** 'NoneType' object has no attribute 'xpath' Traceback (most recent call last): File "E:\weibo\weiboSpider-master\weibo_spider\parser\index_parser.py", line 49, in get_page_num if self.selector.xpath("//input[@name='mp']") == []: AttributeError: 'NoneType' object has no attribute 'xpath' unsupported operand type(s) for +: 'int' and 'NoneType'

dataabc commented 2 days ago

这个没办法,只能放慢速度。