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

[提问] 旧版获取评论接口失效? #817

Open
IcedDog opened this issue Oct 3, 2024 · 2 comments
Open

[提问] 旧版获取评论接口失效? #817

IcedDog opened this issue Oct 3, 2024 · 2 comments
Labels
question 这啥呀这是,我不到啊

Comments

@IcedDog
Copy link

IcedDog commented Oct 3, 2024

Python 版本: 3.12.5

模块版本: 16.3.0

运行环境: Windows


如题,使用get_comments获取评论时都会返回

{'page': {'num': 0, 'size': 0, 'count': 0, 'acount': 0}, 'config': {'showtopic': 0, 'show_up_flag': False, 'read_only': False}, 'replies': None, 'upper': {'mid': 0, 'top': None, 'vote': None}, 'top': None, 'vote': 0, 'blacklist': 0, 'assist': 0, 'mode': 0, 'support_mode': None, 'control': {'input_disable': False, 'root_input_text': '', 'child_input_text': '', 'giveup_input_text': '', 'screenshot_icon_state': 0, 'upload_picture_icon_state': 0, 'answer_guide_text': '', 'answer_guide_icon_url': '', 'answer_guide_ios_url': '', 'answer_guide_android_url': '', 'bg_text': '', 'empty_page': None, 'show_type': 0, 'show_text': '', 'web_selection': False, 'disable_jump_emote': False, 'enable_charged': False, 'enable_cm_biz_helper': False, 'preload_resources': None}, 'folder': {'has_folded': False, 'is_folded': False, 'rule': ''}}
@IcedDog IcedDog added the question 这啥呀这是,我不到啊 label Oct 3, 2024
@Nemo2011
Copy link
Owner

Nemo2011 commented Oct 4, 2024

是不是没传 Credential,或 Credential 过期了

@IcedDog
Copy link
Author

IcedDog commented Oct 5, 2024

Credential传进去可以了
不过未登录时应该仍能获取到第一页的评论?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question 这啥呀这是,我不到啊
Projects
None yet
Development

No branches or pull requests

2 participants