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

basic_usage does not work as of 08/25/23 #43

Closed
mendyl-nb opened this issue Aug 26, 2023 · 4 comments
Closed

basic_usage does not work as of 08/25/23 #43

mendyl-nb opened this issue Aug 26, 2023 · 4 comments

Comments

@mendyl-nb
Copy link

I used to be able to run basic_usage.py. But since yesterday, it does not work anymore. and I get
xhs.exception.DataFetchError: {'code': -1, 'success': False}
不确定是不是小红书那侧做了一些修改导致xhs不可用了

ReaJason added a commit that referenced this issue Aug 26, 2023
@ReaJason
Copy link
Owner

ReaJason commented Aug 26, 2023

请尝试用新的 base_usage.py,加了失败重试

@mendyl-nb
Copy link
Author

感谢回复!不过我这边重试了十次都还是不行 @ReaJason 你run的时候是重试就可以成功的 是吗

@ReaJason
Copy link
Owner

我这边重试能成功,你可以设置 headless 为 False 来打开浏览器测试,请问你具体重试失败的地方在哪儿

@mendyl-nb
Copy link
Author

好的 感谢! @ReaJason
测试发现一个是网页加载特别慢,另外卡在了滑块那边,看了另一个issue,cookie里加了webId之后就可以了

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

2 participants