Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File "D:\Ancaonda\Lib\site-packages\scrapy\core\spidermw.py", line 104, in process_sync for r in iterable: File "D:\Python Project\weibo-search-master\weibo\spiders\search.py", line 241, in parse_by_hour_province for weibo in self.parse_weibo(response): File "D:\Python Project\weibo-search-master\weibo\spiders\search.py", line 537, in parse_weibo weibo["ip"] = self.get_ip(bid) ~~~~~^^^^^^ File "D:\Ancaonda\Lib\site-packages\scrapy\item.py", line 85, in __setitem__ raise KeyError(f"{self.__class__.__name__} does not support field: {key}") KeyError: 'WeiboItem does not support field: ip' #625

Open
ycwang806 opened this issue Dec 19, 2024 · 0 comments
Labels

Comments

@ycwang806
Copy link

感谢您申报bug,为了表示感谢,如果bug确实存在,您将出现在本项目的贡献者列表里;如果您不但发现了bug,还提供了很好的解决方案,我们会邀请您以pull request的方式成为本项目的代码贡献者(Contributor);如果您多次提供很好的pull request,我们将邀请您成为本项目的协助者(Collaborator)。当然,是否提供解决方按都是自愿的。不管是否是真正的bug、是否提供解决方案,我们都感谢您对本项目的帮助。

  • 问:请您指明哪个版本出了bug(github版/PyPi版/全部)?

答:

  • 问:您使用的是否是最新的程序(是/否)?

答:

  • 问:爬取任意用户都会复现此bug吗(是/否)?

答:

  • 问:若只有爬特定微博时才出bug,能否提供出错微博的weibo_id或url(非必填)?

答:

  • 问:若您已提供出错微博的weibo_id或url,可忽略此内容,否则能否提供出错账号的user_id及您配置的since_date,方便我们定位出错微博(非必填)?

答:

  • 问:如果方便,请您描述bug详情,如果代码报错,最好附上错误提示。

答:

@ycwang806 ycwang806 added the bug label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant