-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
评论api (https://api.bilibili.com/x/v2/reply/wbi/main) 如何获取所有评论? #1075
Comments
参数pn为页数 |
Did you mean #701 ? |
抱歉 我可能说错了 |
Please close. See 获取评论区明细_懒加载 & #701. bilibili-API-collect/docs/comment/list.md Lines 952 to 972 in 60a0c5d
|
你的问题解决了吗?我按照你对自己代码编写的描述(尝试使用返回的 next_offset = cursor["pagination_reply"]["next_offset"]
pagination_str = '{"offset":"' + next_offset.replace('"', '\\"') + '"}' |
提交前请确认
API 来源
Web 端(含 h5)
API 类型
REST
API 地址
https://api.bilibili.com/x/v2/reply/wbi/main
详情描述
如标题所示,获取评论请求是个分页请求
目前只能获取第一页的数据,如何获取当前视频的所有评论?
尝试使用返回的 pagination_str 作为请求参数, 可依然只是获取第一页的结果
The text was updated successfully, but these errors were encountered: