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

之前爬出过结果,再次执行不起作用。 #521

Open
yuanooyuan opened this issue Dec 8, 2024 · 12 comments
Open

之前爬出过结果,再次执行不起作用。 #521

yuanooyuan opened this issue Dec 8, 2024 · 12 comments

Comments

@yuanooyuan
Copy link

您好,之前有爬出过结果,但再次执行不报错也不运行是什么问题呢?我将下载的文件删除后尝试了几次还是不行,能帮我看看嘛,感谢!
屏幕截图 2024-12-08 173609

@dataabc
Copy link
Owner

dataabc commented Dec 8, 2024

1.删除crawls文件夹看看;
2.settings.py的COOKIES_ENABLED = False不要修改;
3.查看cookie是否过期。

@yuanooyuan
Copy link
Author

yuanooyuan commented Dec 9, 2024 via email

@dataabc
Copy link
Owner

dataabc commented Dec 9, 2024

换个关键词看看是否运行。

@yuanooyuan
Copy link
Author

yuanooyuan commented Dec 9, 2024 via email

@dataabc
Copy link
Owner

dataabc commented Dec 9, 2024

您打开<s.weibo.com>,看看是否要验证登录。

@yuanooyuan
Copy link
Author

yuanooyuan commented Dec 9, 2024 via email

@dataabc
Copy link
Owner

dataabc commented Dec 9, 2024

这我也不知道为什么,一般来说就这些原因。如果方便,删除重新配置看看。

@Jiajia8888
Copy link

我也出现这种情况了,在网页端并没有退出登录但是不运行了,再去重新复制一下cookies就好了

@yuanooyuan
Copy link
Author

yuanooyuan commented Dec 11, 2024 via email

@yuanooyuan
Copy link
Author

yuanooyuan commented Dec 11, 2024 via email

@Jiajia8888
Copy link

要不你试试cd到weibo,然后用两个运行命令都试一下,我以前这样成功过

@yuanooyuan
Copy link
Author

我把“pip install -r requirements.txt”复制到微博文件 尝试还是不行 还是我对您的意思理解有偏差呢
屏幕截图 2024-12-11 201946

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants