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

增加粉丝团人数记录? #442

Open
nailvcoronation opened this issue Mar 12, 2023 · 10 comments
Open

增加粉丝团人数记录? #442

nailvcoronation opened this issue Mar 12, 2023 · 10 comments
Labels
enhancement New feature or request

Comments

@nailvcoronation
Copy link

目前有记录粉丝数和舰长数,但是粉丝数可能会有大量的死粉,舰长数受活动影响太大,是否可以考虑多爬一项粉丝团数量来给分析数据提供更好的帮助?
目前在手机端找到了一个不用验证就能获取粉丝团数量的api:
https://api.live.bilibili.com/xlive/general-interface/v1/rank/getFansMembersRank?ruid=2132180406&page=1&page_size=1
data里的num就是目前粉丝团的数量。

@simon300000
Copy link
Member

谢谢

@nailvcoronation
Copy link
Author

@simon300000 👀会考虑么

@simon300000
Copy link
Member

嗯 我过几天就加上 不过前端显示在哪还需要想想

@nailvcoronation
Copy link
Author

红豆泥阿里嘎多,加了之后能麻烦提醒一下么

@simon300000
Copy link
Member

好的

@simon300000
Copy link
Member

我准备用这个api https://api.live.bilibili.com/xlive/web-room/v1/index/getInfoByRoom?room_id=25034104
不过拿到的数据应该是一样的
这个api已经用到了,大概可以节省一个请求

纯属好奇:这个数字可以通过用户gui看见吗?我稍微翻了一下bilibili网页和手机端,都没看到哪里显示了这个数字

@nailvcoronation
Copy link
Author

nailvcoronation commented Mar 22, 2023

感觉用这种常用api比较不容易被加验证?倒是更好的选择。我之前没仔细看这个的返回,没发现这里就有粉丝团数量(
web端我没发现看粉丝团的数字显示,不过手机端在直播间点主播头像就能看见有多少人加入粉丝团,我翻到的这个api也是这么抓到的。
*更正:其实网页端登录后可以看到人数,但需要验证。手机端的这个不需要

@simon300000
Copy link
Member

哇哦 原来是这样

simon300000 added a commit to simon300000/bili-api that referenced this issue Mar 29, 2023
@wudifeixue wudifeixue added the enhancement New feature or request label Jun 19, 2023
@simon300000
Copy link
Member

😨完全忘了

@nailvcoronation
Copy link
Author

原来想看看代码自己加一下提个pr,结果自己忙就也鸽了(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants