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

更新之后一直显示“xhs.exception.DataFetchError: {'code': -1, 'success': False}” #35

Closed
tangtr opened this issue Jul 24, 2023 · 4 comments

Comments

@tangtr
Copy link

tangtr commented Jul 24, 2023

之前有时会显示“当前内容无法展示”,昨天更新了一下一直报错:
auth_info = xhs_client.get_user_info(line)
File "C:\python\lib\site-packages\xhs\core.py", line 315, in get_user_info
return self.get(uri, params)
File "C:\python\lib\site-packages\xhs\core.py", line 173, in get
return self.request(method="GET", url=f"{self._host}{final_uri}")
File "C:\python\lib\site-packages\xhs\core.py", line 165, in request
raise DataFetchError(data.get("msg", data))
xhs.exception.DataFetchError: {'code': -1, 'success': False}

请帮助

@ReaJason
Copy link
Owner

请问使用的 Docker 容器吗,签名好像坏了,我有时间修修,本地起的还是好使的
image

@tangtr
Copy link
Author

tangtr commented Jul 25, 2023

请问使用的 Docker 容器吗,签名好像坏了,我有时间修修,本地起的还是好使的 image

哦,我也是使用本地签名,不是docker,不知道哪里出了状况。我再试试。

@ReaJason
Copy link
Owner

basic_usage.py 能用,那个 flask server 不行了

@tangtr
Copy link
Author

tangtr commented Jul 25, 2023

basic_usage.py 能用,那个 flask server 不行了

好滴

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