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

请问一下这是什么问题导致的? #33

Closed
haobosang opened this issue Jul 19, 2023 · 4 comments
Closed

请问一下这是什么问题导致的? #33

haobosang opened this issue Jul 19, 2023 · 4 comments

Comments

@haobosang
Copy link

Traceback (most recent call last):
File "/home/one/myhome/path/to/xhs/test.py", line 61, in
a=xhs_client.get_user_all_notes(value)
File "/home/one/.local/lib/python3.10/site-packages/xhs/core.py", line 411, in get_user_all_notes
note = self.get_note_by_id(note_id)
File "/home/one/.local/lib/python3.10/site-packages/xhs/core.py", line 190, in get_note_by_id
res = self.post(uri, data)
File "/home/one/.local/lib/python3.10/site-packages/xhs/core.py", line 178, in post
return self.request(method="POST", url=f"{self._host}{uri}",
File "/home/one/.local/lib/python3.10/site-packages/xhs/core.py", line 165, in request
raise DataFetchError(data.get("msg", data))
xhs.exception.DataFetchError: 当前内容无法展示

@ReaJason
Copy link
Owner

可能爬的时候,用户做了隐藏笔记的操作,导致你这边笔记爬详情的时候失败了

@ReaJason
Copy link
Owner

麻烦提供一下 user_id,我尝试复现一下

@haobosang
Copy link
Author

@ReaJason 这个576e7b1d50c4b4045222de08

@FairyWorld
Copy link

640dc6250000000013013510,639700490000000022038493,639598b0000000001f00888c这三个是璐瑶说财经的三个笔记的详情页面,在列表页面可以看到这三个作品,但是点进去就提示"当前内容无法展示",实际在app可以正常查看

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