You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
答:****************************************************************************************************
'NoneType' object has no attribute 'xpath'
Traceback (most recent call last):
File "D:\WBspider_code\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'
Traceback (most recent call last):
File "D:\WBspider_code\weiboSpider-master\weibo_spider\spider.py", line 167, in get_weibo_info
if self.page_count > 2 and (self.page_count +
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
共爬取0条微博
信息抓取完毕
The text was updated successfully, but these errors were encountered:
为了更好的解决问题,请认真回答下面的问题。等到问题解决,请及时关闭本issue。
答:
答:是
答:是
答:
答:
答:****************************************************************************************************
'NoneType' object has no attribute 'xpath'
Traceback (most recent call last):
File "D:\WBspider_code\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'
Traceback (most recent call last):
File "D:\WBspider_code\weiboSpider-master\weibo_spider\spider.py", line 167, in get_weibo_info
if self.page_count > 2 and (self.page_count +
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
共爬取0条微博
信息抓取完毕
The text was updated successfully, but these errors were encountered: