dataabc / weibo-crawler

新浪微博爬虫,用python爬取新浪微博数据,并下载微博图片和微博视频
3.41k stars 761 forks source link

运行报错 #329

Open YTB-X opened 1 year ago

YTB-X commented 1 year ago

'download_comment' Traceback (most recent call last): File "/root/weibo-crawler/weibo.py", line 1980, in main wb = Weibo(config) File "/root/weibo-crawler/weibo.py", line 45, in init self.validate_config(config) File "/root/weibo-crawler/weibo.py", line 131, in validate_config if config[argument] != 0 and config[argument] != 1: KeyError: 'download_comment' root@aibug:~/weibo-crawler# 请问大佬是什么原因,谢谢啦

dataabc commented 1 year ago

可能是你使用的config.json过时了,下载最新的看看。

YTB-X commented 1 year ago

是里面内容格式过时了?

------------------ 原始邮件 ------------------ 发件人: "Chen @.>; 发送时间: 2022年10月27日(星期四) 晚上7:36 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [dataabc/weibo-crawler] 运行报错 (Issue #329)

可能是你使用的config.json过时了,下载最新的看看。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

dataabc commented 1 year ago

看错误可能是过时了。

YTB-X commented 1 year ago

我重新git后确实可以了,谢谢大佬了

---原始邮件--- 发件人: "Chen @.> 发送时间: 2022年10月28日(周五) 晚上9:22 收件人: @.>; 抄送: @.**@.>; 主题: Re: [dataabc/weibo-crawler] 运行报错 (Issue #329)

看错误可能是过时了。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>