dataabc / weiboSpider

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

cookie问题 #471

Closed zcs0001 closed 1 year ago

zcs0001 commented 2 years ago

cookie错误或已过期,请按照README中方法重新获取 换cookie之后是没问题的,我想知道这句话的代码在哪,或者是怎么判断cookie过没过期的

dataabc commented 2 years ago

好像在spider.py,根据昵称判断,如果cookie无效,昵称好像是“登录”之类的。应该就是cookie过期了,如果不行可以使用weibo-crawler。

stale[bot] commented 1 year 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 1 year ago

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