bilibili-API-collect/README.md

284 lines
13 KiB
Markdown
Raw Normal View History

2020-07-30 23:35:31 +08:00
<p align="center">
<img src="imgs/Mylogo.png" width="250" height="200">
2020-07-30 23:35:31 +08:00
</p>
<h1 align="center">哔哩哔哩-API收集整理</h1>
<p align="center">
<a href="https://github.com/SocialSisterYi/bilibili-API-collect/issues" style="text-decoration:none">
<img src="https://img.shields.io/github/issues/SocialSisterYi/bilibili-API-collect.svg" alt="GitHub issues"/>
</a>
<a href="https://github.com/SocialSisterYi/bilibili-API-collect/stargazers" style="text-decoration:none" >
<img src="https://img.shields.io/github/stars/SocialSisterYi/bilibili-API-collect.svg" alt="GitHub stars"/>
</a>
<a href="https://github.com/SocialSisterYi/bilibili-API-collect/network" style="text-decoration:none" >
<img src="https://img.shields.io/github/forks/SocialSisterYi/bilibili-API-collect.svg" alt="GitHub forks"/>
</a>
<a href="https://github.com/SocialSisterYi/bilibili-API-collect/blob/master/LICENSE" style="text-decoration:none" >
<img src="https://img.shields.io/github/license/SocialSisterYi/bilibili-API-collect.svg" alt="GitHub license"/>
</a>
</p>
<h3 align="center">野生API文档</h3>
<h3 align="center">不断更新中....</h3>
2021-03-07 13:04:29 +08:00
本项目旨在对B站web端、移动端以及TV端散落在世界各地的野生api进行收集整理研究使用方法并对其进行说明运用了黑箱法、控制变量法、js逆向分析法、apk拆包及反编译法、网络抓包法等研究办法
2020-03-04 19:57:24 +08:00
所有api均为标准http协议返回数据大都为json或protobuf
2020-03-04 09:29:53 +08:00
PS所有http协议地址均可使用https文档中为了统一写作`http`为了数据安全建议所有接口使用https
2021-03-07 13:30:48 +08:00
小小的Demo~~av583785685~~[视频失效原因](https://shakaianee.top/archives/56/)[Youtube备链](https://www.youtube.com/watch?v=nfF91Z6fqGk)
联动项目:[Hsury/Bilibili-Toolkit](https://github.com/Hsury/Bilibili-Toolkit)
2020-05-30 17:08:48 +08:00
---
2020-03-11 12:11:54 +08:00
**声明**
1. 本项目遵守CC-BY-4.0协议如需转载请标明作者ID
2. **请勿滥用,本项目仅用于学习和测试!请勿滥用,本项目仅用于学习和测试!请勿滥用,本项目仅用于学习和测试!**
3. 由于使用本项目提供的接口、文档等造成的不良影响和后果与本人无关
4. 由于本项目的特殊性,可能随时停止开发或删档
5. 本项目为开源项目,不接受任何的催单和索取行为
---
2020-07-14 18:44:44 +08:00
计划整理分类&目录√代表已完成x代表正在施工...)二级目录正在建设中.....
2020-03-06 17:23:49 +08:00
- [API认证与鉴权APP与Cookie方式](other/API_auth.md)×
- [公共错误码](other/errcode.md)√
2020-04-25 18:15:21 +08:00
- [图片格式化](other/picture.md)√
- [bvid说明](other/bvid_desc.md)√
2021-01-03 15:42:33 +08:00
- [grpc接口](grpc_api)×
2020-03-18 14:03:05 +08:00
- [登录](login)
- [登录操作(人机认证)](login/login_action)√
- [短信登录](login/login_action/SMS.md)√
- [密码登录](login/login_action/password.md)√
- [二维码登录](login/login_action/QR.md)√
- SNS登录QQ&微博)
2020-03-18 14:03:05 +08:00
- [登录基本信息](login/login_info.md)√
- [个人中心](login/member_center.md)×
2020-07-27 22:59:04 +08:00
- [注销登录](login/exit.md)×
- [登录记录](login/login_notice.md)√
- [消息中心](message)
- [通知类消息](message/msg.md)×
- [私信](message/private_msg.md)×
- [设置](message/config.md)×
2020-03-18 14:03:05 +08:00
- [用户](user)
- [基本信息](user/info.md)√
- [状态数](user/status_number.md)√
- [关系](user/relation.md)√
- [个人空间](user/space.md)x
- [检查昵称是否可注册](user/check_nickname.md)√
2021-11-03 15:31:41 +08:00
- [用户注册](user/register.md)
2020-03-18 14:03:05 +08:00
- [视频](video)
- [视频分区一览(分区代码)](video/video_zone.md)√
- [基本信息](video/info.md)√
- [状态数](video/status_number.md)√
- [快照](video/snapshot.md)√
- [点赞&投币&收藏](video/like_coin_fav.md)√
2020-04-25 18:15:21 +08:00
- [TAG](video/tags.md)x
2020-03-19 22:42:26 +08:00
- [视频推荐](video/recommend.md)√
- [播放&下载地址(视频流)](video/videostream_url.md)√
2020-08-29 17:43:39 +08:00
- [互动视频](video/interact_video.md)×
2020-04-27 18:24:36 +08:00
- [高能进度条](video/pbp.md)√
2020-06-22 12:22:04 +08:00
- [信息上报(心跳及记录历史)](video/report.md)×
- [视频属性数据](video/attribute_data.md)√
- [视频在线人数](video/online.md)√
2020-10-23 20:14:41 +08:00
- [剧集(番剧、影视)](bangumi)
- [基本信息](bangumi/info.md)×
2020-03-21 14:37:55 +08:00
- 状态数
- 操作
2020-03-18 17:13:30 +08:00
- [视频弹幕](danmaku)
- [protobuf实时弹幕](danmaku/danmaku_proto.md)√
2020-10-05 00:13:14 +08:00
- [protobuf弹幕元数据BAS弹幕/互动弹幕)](danmaku/danmaku_view_proto.md)√
- [xml实时弹幕](danmaku/danmaku_xml.md)√
2021-02-16 00:58:23 +08:00
- [历史弹幕](danmaku/history.md)√
2020-03-18 17:13:30 +08:00
- [快照](danmaku/snapshot.md)√
- [弹幕操作](danmaku/action.md)×
2020-07-03 19:36:02 +08:00
- 高级弹幕
- 屏蔽管理
2020-07-23 00:08:20 +08:00
- 智能防挡弹幕
- [弹幕个人配置修改](danmaku/config.md)√
- [视频笔记](note)√
- [笔记列表](note/list.md)√
- [笔记详细信息](note/info.md)√
- [笔记操作](note/action.md)√
2020-04-28 23:16:26 +08:00
- [专栏](article)
2020-07-03 19:36:02 +08:00
- 分区
- [基本信息](article/info.md)×
2020-11-20 17:22:54 +08:00
- [点赞&投币&收藏&分享](article/like_coin_fav.md)×
2020-08-17 12:03:21 +08:00
- [文集基本信息](article/articles.md)×
2020-07-21 17:38:44 +08:00
- [音频](audio)
- [歌曲基本信息](audio/info.md)√
- [歌单&音频收藏夹详细信息](audio/music_list.md)×
- [状态数](audio/status_number.md)×
- [投币&收藏](audio/coin&fav.md)×
- [播放&下载地址(音频流)](audio/musicstream_url.md)√
- 音频榜单
- [排行榜&最新视频](ranking&dynamic)
2020-08-17 12:03:21 +08:00
- [排行榜](ranking&dynamic/ranking.md)×
- [最新视频](ranking&dynamic/dynamic.md)×
2020-07-03 19:36:02 +08:00
- [搜索](search)
- [搜索请求](search/search_request.md)√
2020-07-03 19:36:02 +08:00
- [搜索结果](search/search_response.md)√
- [默认搜索&热搜](search/hot.md)√
2020-07-30 23:29:40 +08:00
- [搜索建议](search/suggest.md)√
- [小黑屋](blackroom)
2020-07-03 19:36:02 +08:00
- 基本信息
- [封禁公示](blackroom/banlist.md)√
2020-11-20 20:13:12 +08:00
- [风纪委员及众裁案件相关](blackroom/jury)√
- [风纪委员基本信息](blackroom/jury/base_info.md)√
- [众裁案件基本信息](blackroom/jury/judgement_info.md)√
- [裁决操作](blackroom/jury/action.md)√
- [评论区](comment)√
2020-10-12 12:57:10 +08:00
- [评论区明细](comment/list.md)√
2020-06-17 13:12:16 +08:00
- [操作](comment/action.md)√
2020-11-20 20:13:12 +08:00
- [表情](emoji)
- [表情及表情包信息](emoji/list.md)√
- [操作](emoji/action.md)√
- [创作中心](creativecenter)
2020-08-17 12:03:21 +08:00
- [统计与数据](creativecenter/statistics&data.md)×
- 列表查询相关
2020-07-07 23:29:15 +08:00
- [电磁力数据](creativecenter/railgun.md)√
- [实时广播(通讯协议)](broadcast)√
- [视频内广播](broadcast/video_room.md)√
- [充电](electric)
2020-03-22 15:21:09 +08:00
- [B币方式](electric/Bcoin.md)√
- [微信&支付宝方式](electric/WeChat&Alipay.md)√
2020-03-22 15:21:09 +08:00
- [充电留言](electric/charge_msg.md)√
- [充电列表](electric/charge_list.md)√
2020-04-11 20:57:23 +08:00
- [动态](dynamic)
2020-08-17 12:03:21 +08:00
- [发送&转载动态](dynamic/publish.md)×
2021-11-03 15:32:12 +08:00
- [删除动态](dynamic/delete.md)
2020-03-06 17:23:49 +08:00
- 动态列表
- [特定话题动态列表](/dynamic/tag_dynamics.md)√
- [动态内容](/dynamic/get_dynamic_detail.md)×
- 操作
2020-11-27 23:39:07 +08:00
- [相簿](album)
- [基本信息](album/info.md)√
- [相簿列表](album/list.md)√
- [推荐作者](album/recommend_author.md)√
- [活动列表](album/activity_list.md)√
- [操作](album/action.md)√
- 投稿
2020-05-07 18:35:47 +08:00
- [历史记录&稍后再看](history&toview)
- [历史记录](history&toview/history.md)√
- [稍后再看](history&toview/toview.md)√
2021-06-14 01:35:07 +08:00
- [收藏夹](fav)
- [基本信息](fav/info.md)√
- [收藏夹内容](fav/list.md)√
- [收藏夹操作](fav/action.md)×
- [课程](cheese)
- [课程基本信息](cheese/info.md)√
- 已购课程
- 分区推荐列表
- 操作
2020-06-08 13:11:47 +08:00
- [播放&下载地址(视频流)](cheese/videostream_url.md)√
- [直播](live)
2020-08-17 12:03:21 +08:00
- [直播间基本信息](live/info.md)×
- [直播分区](live/live_area.md)×
- [直播间管理](live/manage.md)×
- 直播间操作
2020-10-16 21:06:34 +08:00
- [直播视频流](live/live_stream.md)×
- [直播信息流](live/message_stream.md)×
2021-03-07 13:04:29 +08:00
- [转正答题](newbie_exam)
- [查询信息](newbie_exam/info.md)×
- [拉取题目](newbie_exam/fetch.md)√
- [操作](newbie_exam/action.md)×
2020-03-12 15:37:34 +08:00
- B币钱包
- 基本信息
- B币充值
- 贝壳相关
2020-03-21 14:37:55 +08:00
- 哔哩哔哩漫画
2020-03-11 12:11:54 +08:00
- 哔哩哔哩游戏
- 轻视频
- [终端网络查询](clientinfo)
- [基于ip的地理位置查询](clientinfo/ip.md)√
- [终端信息查询](clientinfo/client_info.md)√
- [其他](other)
- [获取当前时间戳](other/time_stamp.md)√
- [web端组件](web_widget)
2020-11-20 20:13:12 +08:00
- [分区当日投稿数](web_widget/zone_upload.md)√
2021-07-12 16:37:03 +08:00
- [404页漫画收集](web_widget/404_manga.md)√
- [APP端组件](APP_widget)
- [开屏图片](APP_widget/splash.md)√
- [个性装扮](garb)
2020-11-20 20:13:12 +08:00
- [APP主题](garb/skin.md)√
- [主题色](garb/color.md)√
2020-03-04 09:29:53 +08:00
B站专栏同步推出[《B站api研究记》](https://www.bilibili.com/read/readlist/rl207146)系列(更新状态:咕咕......~~欢迎关注~~
2020-03-04 09:58:10 +08:00
**--Project_by [社会易姐QwQ](https://space.bilibili.com/293793435)**
# 相关协议基础
http协议[传送门](https://www.cnblogs.com/an-wen/p/11180076.html)
json序列格式[传送门](https://www.sojson.com/json/json_index.html)
2020-03-04 09:59:47 +08:00
xml序列格式[传送门](https://www.w3school.com.cn/xml/xml_intro.asp)
2020-03-06 17:23:49 +08:00
protobuf序列格式[传送门](https://www.jianshu.com/p/a24c88c0526a )
# 交流
<img src="imgs/up_face.jpg" width="100" height="100">
2020-03-06 17:23:49 +08:00
QQ粉丝交流群[1136462265](https://jq.qq.com/?_wv=1027&k=s1M0LCcu)
2020-03-06 17:23:49 +08:00
2021-09-12 15:36:04 +08:00
Telegram讨论组[bilibili_API_collect_community](https://t.me/bilibili_API_collect_community)
B站空间<https://space.bilibili.com/293793435>
个人博客:<https://shakaianee.top>
2020-07-30 23:29:40 +08:00
2020-12-06 23:01:59 +08:00
# 发电
欢迎来py大家的支持就是我继续开发的动力
~~请可爱的易姐喝杯奶茶~~
<img src="imgs/sponsorQR.jpg" width="300" height="300">
2020-12-06 23:01:59 +08:00
# 相关项目
## 库及文档
2020-04-25 18:15:21 +08:00
2020-10-27 09:53:33 +08:00
- [jingyuexing/bilibiliAPI](https://github.com/jingyuexing/bilibiliAPI)
- [fython/BilibiliAPIDocs](https://github.com/fython/BilibiliAPIDocs)
- [czp3009/bilibili-api](https://github.com/czp3009/bilibili-api)
- [Vespa314/bilibili-api](https://github.com/Vespa314/bilibili-api)
- [whjstc/openbilibili-go-common-1](https://github.com/whjstc/openbilibili-go-common-1)
- [wnstar/bili-utils](https://github.com/wnstar/bili-utils)
- [lovelyyoshino/Bilibili-Live-API](https://github.com/lovelyyoshino/Bilibili-Live-API)
- [flaribbit/bilibili-manga-spider](https://github.com/flaribbit/bilibili-manga-spider)
- [simon300000/bili-api](https://github.com/simon300000/bili-api)
- [iyear/biligo](https://github.com/iyear/biligo) Bilibili API SDK in Golang
## 成品
2020-10-30 21:09:39 +08:00
- [3Shain/BiliChat](https://github.com/3Shain/BiliChat) : 基于h5的B站直播弹幕姬
- [AncientLysine/BiliLocal](https://github.com/AncientLysine/BiliLocal):本地弹幕播放器
2020-10-27 09:53:33 +08:00
- [zyzsdy/biliroku](https://github.com/zyzsdy/biliroku):bilibili 生放送(直播)录制
- [otakustay/danmaku-to-ass](https://github.com/otakustay/danmaku-to-ass):A站B站弹幕转字幕文件
2020-10-30 21:09:39 +08:00
- [bilibili-helper/bilibili-helper-o](https://github.com/bilibili-helper/bilibili-helper-o):哔哩哔哩 (bilibili.com) 辅助工具,可以下载视频,查询弹幕发送人以及一些十分实用的直播区功能。
- [apachecn/BiliDriveEx](https://github.com/apachecn/BiliDriveEx):基于B站相簿上传的文件分块索引存储器
- [apachecn/CDNDrive](https://github.com/apachecn/CDNDrive):基于B站相簿上传的文件分块索引存储器
- [Hsury/BiliDrive](https://github.com/Hsury/BiliDrive):基于B站相簿上传的文件分块索引存储器
2020-10-27 09:53:33 +08:00
- [Tsuk1ko/bilibili-live-chat](https://github.com/Tsuk1ko/bilibili-live-chat):无后端的仿 YouTube Live Chat 风格的简易 Bilibili 弹幕姬
- [ironmanic/crawler_target_users_good](https://github.com/ironmanic/crawler_target_users_good):搜索bilibili特定视频为评论 点赞,关注,私信,一体化服务
2020-10-30 21:09:39 +08:00
- [dd-center/DDatElectron](https://github.com/dd-center/DDatElectron):DD@Home 分布式项目, 桌面客户端
- [dd-center/vtbs.moe](https://github.com/dd-center/vtbs.moe):B站VTB数据中心
2021-07-05 23:50:23 +08:00
- [JunzhouLiu/BILIBILI-HELPER](https://github.com/JunzhouLiu/BILIBILI-HELPER):利用Linux Crontab定时任务,云函数Docker等方式实现B站哔哩哔哩Bilibili每日自动投币签到银瓜子兑换硬币领取大会员福利大会员月底给自己充电等。每天轻松获取65经验值。
2020-10-27 09:53:33 +08:00
- [the1812/Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved):强大的哔哩哔哩增强脚本: 下载视频, 音乐, 封面, 弹幕 / 简化直播间, 评论区, 首页 / 自定义顶栏, 删除广告, 夜间模式 / 触屏设备支持
- [xlzy520/bili-short-url](https://github.com/xlzy520/bili-short-url): 哔哩哔哩短链生成器
- [zjkwdy/bili_app_splash](https://github.com/zjkwdy/bili_app_splash): B站壁纸娘和开屏图自动下载每天使用Actions自动同步
- [Jannchie/BiliOB](https://github.com/Jannchie/BiliOB): BiliOB观测者是一个观测B站UP主及视频数据变化并予以分析的Web应用程序
- [biliob233/biliob233.github.io](https://github.com/biliob233/biliob233.github.io):~~无可奉告~~
2020-04-25 18:15:21 +08:00
## 其他
2020-10-30 21:09:39 +08:00
- [kuresaru/geetest-validator](https://github.com/kuresaru/geetest-validator):geetest调试器
- [uw-labs/bloomrpc](https://github.com/uw-labs/bloomrpc): GUI Client for GRPC Services
- [grpc/grpc](https://github.com/grpc/grpc): The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)