Comments (10)
请尝试2.6.0
版本
from biliroaming.
我不是很想用新版的 bilibili ,感觉有点太臃肿了,很多功能我都用不上
edit 稍等,我试试
from biliroaming.
@rhjdvsgsgks 但我也不可能为各种旧版本都来适配一下🤔
from biliroaming.
确实是这样,那我还是忍忍吧
虽然我很想试试260是否也有这个问题,但我手机是 armv7 的,而 apkpure 上只有 armv8 的包,装不上(尴尬
from biliroaming.
能否列一下明确支持哪些版本,是只支持最新版吗?
from biliroaming.
@rhjdvsgsgks 每次更新我都尽量兼容旧版本的。但是只保证最新版的完整功能支持。
还是那句话,我不可能各个版本都测试一遍兼容性。
from biliroaming.
您好,我自己尝试着研究了下,确实不好修,com.bapis.bilibili.pgc.gateway.player.v1.PlayURLMoss
和 com.bilibili.bplus.followingcard.api.entity.cardBean.VideoCard#getCommentJumpUrl()
在242中根本不存在,但 com.bilibili.bplus.followingcard.api.entity.cardBean.VideoCard#getJumpUrl()
在242中与 com.bilibili.bplus.followingcard.api.entity.cardBean.VideoCard#getUrl()
的行为类似(redirectUrl
非空时返回的都是它自身),猜测可能是242之后才拆成了 getJumpUrl
和 getUrl
两部分,试了下直接把 getJumpUrl
替换成 getUrl
,在242上没遇到新的问题,找不到 getJumpUrl
的提示也没了,感觉这里可以加个判断,发现是老版本就去找 getUrl
,新版本去找 getJumpUrl
,这样这里就能修好了(虽然之前提到的功能还是不能用)
edit: 上面是错的,看了下 hook 的内容,如果没有那两个 method 的话可以不去 hook 它,不影响的
抓包发现242判断是否为下载请求参数和新版一样都是 playurl
里的 dl=1
,但不知道为什么 BangumiPlayUrlHook.kt
附近的 params
里并没有出现下载请求的身影,好像请求 playurl
的相关地方没有被 hook 到一样,港澳台番剧也是,视频的解析并没有发往 biliplus 而是直接发出去了,自然收到了“该地区无法观看”的提示,但评论倒是能看
搜索推荐也是, JsonHook.kt
中的第二个 purify_search
附近的 param
里并没有出现 defaultwords 和 hot 的 json
(ps我不是很懂xposed和android编程,连为什么要 hook com.bilibili.nativelibrary.LibBili
都没搞明白,反编译这个也没看出什么,连入门都称不上,但还是希望您在闲暇之余能稍微透露下是如何找到该 hook 的 class ,剩下的我来“研究”,如果我真修好了就 pr 上来
from biliroaming.
@rhjdvsgsgks
com.bapis.bilibili.pgc.gateway.player.v1.PlayURLMoss
和com.bilibili.bplus.followingcard.api.entity.cardBean.VideoCard
的hook失效不影响解锁。
purify_search
那边换个类名就可以,具体自己打Log看点搜索栏时候两个parse
函数返回了什么类。
番剧解锁是先尝试解析,发现有版权限制再使用biliplus
修复解析结果。
LibBili
的hook是为了去掉dl=1
,有版权的番剧在解析地址时候有dl=1
会解析失败。
from biliroaming.
#40 加了一行之后好像修好了
之前发现播放可正常解锁但下载不行,试着在 OkHttpURLConnection 这个 method 之前加个 log ,在播放时能显示但下载时没有,以为播放和下载调的不是同一个 method 所以没 hook 上,花了两三天把从 b.ehn 到 com.bilibili.lib.okhttp.huc.OkHttpURLConnection 之间所有被用到的 method 都 hook 了一遍在开始时输出 log ,最后发现是根本没去 hook ,加一行添加 url 的 hook 就好了
from biliroaming.
#43 加了两行好了
之前说的没错,第二个 purify_search
附近 (也就是 parseArray
) 确实没有被解析热词和排名时使用,但有经过 fastJsonParse
,解析时的类名也和新版不一样,所以加进去就好了
from biliroaming.
Related Issues (20)
- [Server] 新增解析服务器 HOT 1
- 添加公共服务器
- [Server] HOT 1
- [Server] 添加公共服务器 HOT 1
- [Feature] 请求添加一个屏蔽指定表情的功能 HOT 2
- [Feature] 请求移除开屏广告 HOT 3
- [Bug] HOT 2
- lsp版1.70经常应用卡死重启[Bug] HOT 2
- 太极版1.7无法使用去小程序分享[Bug] HOT 3
- [Bug]
- [Bug]lsp版,其他地区番剧搜索出错 HOT 8
- 播放功能 HOT 1
- [Bug] 自定义底栏是空的 HOT 3
- [Feature] 是否可以解决于QQ和微信中以小程序的状态“分享失败”的问题? HOT 1
- [Feature] 请求添加关闭合集自动播放功能
- [Bug] BiliRoaming 1.7.0版不兼容 bilibili play 3.11.0版 HOT 1
- [Feature] 屏蔽小火箭官方推广 HOT 2
- [Feature] 请求恢复原生音乐通知 HOT 1
- [Server] 新增解析服务器(顺便改改联系方式 +赞助地址) HOT 2
- [Bug] 自动点赞视频 失效 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biliroaming.