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

[新增/更新请求] 动态信息中更细致的内容参数(features参数) #1099

Open
1 task done
okashi-ya opened this issue Sep 16, 2024 · 0 comments
Open
1 task done

Comments

@okashi-ya
Copy link

okashi-ya commented Sep 16, 2024

提交前请确认

  • 我已检索仓库中文档,不包含所提及内容,或所提及内容在本仓库中存在错误,且 Issues、Pull Requests 中无相关提交

API 来源

Web 端(含 h5)

API 类型

REST

API 地址

https://api.bilibili.com/x/polymer/web-dynamic/v1/detail

详情描述

https://api.bilibili.com/x/polymer/web-dynamic/v1/detail
API是用于获取一条动态的信息的

例如:
https://api.bilibili.com/x/polymer/web-dynamic/v1/detail?timezone_offset=-480&id=975553339703951368
image

但如果加上了features这些参数:
https://api.bilibili.com/x/polymer/web-dynamic/v1/detail?timezone_offset=-480&id=975553339703951368&features=itemOpusStyle,listOnlyfans,opusBigCover,onlyfansVote,decorationCard,onlyfansAssetsV2,forwardListHidden,ugcDelete,onlyfansQaCard,commentsNewVersion,htmlNewStyle
image

当然这个结果也是不全的,原动态是非常长的,这个只有一部分,而且实际对比两个json也可以发现,module_dynamic内原本opus是无内容的。
最近B站还出了一个“标题”
image
这个标题的内容如果不加参数是抓不到的。。而且加了参数后module_dynamic用于放文本的地方也变了

所以有没有一起来讨论下这后面都需要哪些参数的。。

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

1 participant