-
Notifications
You must be signed in to change notification settings - Fork 1.3k
为bilibili支持解析服务器实现港澳台搜索 (App/Web双模) #129
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
Merged
Merged
+468
−98
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b站app接口无结果会返回高达3.69mb的数据,这是人啊
实际实现很简单,但因为全网没有一个喂饭教程所以踩了超级超级多的坑,但也是多亏了踩坑现在对于港澳台的兼容非常非常健壮😵
Removed duplicate instructions for enabling bilibili proxy URL in the README.
|
@wan0ge is attempting to deploy a commit to the huangxd's projects Team on Vercel. A member of the Team first needs to authorize it. |
👷 Deploy request for danmuapi pending review.Visit the deploys page to approve it
|
Contributor
Author
|
|
Owner
Contributor
Author
Owner
Contributor
Author
Owner
|
好了吗?准备合入了 |
Contributor
Author
港澳台这部分好了hhh 我刚做了个搜索中断方面的改进用来给tmdb实现真的打断,用户原关键词搜索成功打断tmdb搜索那个,能更精准的打断和微小的提速,但是还没测试完打算后面新开一个pr |
Owner
|
ok,那先合入了 |
huangxd-
added a commit
that referenced
this pull request
Jan 4, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.







Closes #110
1.为bilibili源支持反代
PROXY_URL中新增了bilibili@字段支持https://api.bilibili.com/x/v2/search(App接口)或/x/web-interface/search(Web接口)的反代2.新增了健壮的App/Web搜索接口
bili_jct=xxxx或access_key=xxxx字段,Web接口不需要-500-502很正常,有风控3.在
http-util.js新增了流式传输方法4.针对解析服务器/港澳台数据对个别流程进行调整
可测试番剧:
电锯人进击的巨人(需要启用tmdb)没有黄段子的无聊世界(弹幕量最多)测试公共解析服务器:
(以下大部分来自公共解析服务器,注意使用公共服务器有风险请自行判断
#PROXY_URL="bilibili@https://bili.xcnya.cn/donate"
支持App/Web接口
PROXY_URL="bilibili@https://bili.nepnep.moe"
支持App/Web接口
#PROXY_URL="bilibili@https://bilibili.suysker.xyz"
均不支持
#PROXY_URL="bilibili@https://hk.biliroaming.bili33.top"
支持App/Web接口
#PROXY_URL="bilibili@https://bili.xcnya.cn/"
支持App/Web接口
#PROXY_URL="bilibili@https://bili.jixiejidiguan.eu.org"
支持App/Web接口
#PROXY_URL="bilibili@https://hk.pre-s.com"
来自Prejudice-Studio支持App接口
#PROXY_URL="bilibili@https://api.bilibili.com"
支持回国反代
目前所有的公共解析服务器都只会返回海外数据,但是直接填"bilibili@https://api.bilibili.com" 又可以返回大陆数据,所以支持回国反代
App接口需要
bili_jct=xxxx或access_key=xxxx字段,Web接口报错-500、502正常,风控严重,但只要一直搜索总会成功,App接口非常稳定
增加了很多措施比如获取分段回退都是为了兼容公共解析服务器,很多公共解析服务器没有把所有接口做完只做了部分,然后通过了点曲线救国 填的服务器实际上只有在搜索阶段会用一次,获取ep分集和获取弹幕都不会用到