yujincheng08 / BiliRoaming

哔哩漫游,解除B站客户端番剧区域限制的Xposed模块,并且提供其他小功能。An Xposed module that unblocks bangumi area limit of BILIBILI with miscellaneous features.
https://modules.lsposed.org/module/me.iacn.biliroaming
GNU General Public License v3.0
9.68k stars 536 forks source link

[BUG] 1.2.9 在 国际版 2.4.2 上部分功能失效 #29

Closed rhjdvsgsgks closed 4 years ago

rhjdvsgsgks commented 4 years ago

问题描述

  1. “净化搜索页面”功能失效
  2. “允许下载版权番剧”功能失效

复现步骤

  1. 开启“允许下载版权番剧”
  2. 下载日漫(国漫可正常下载)
  3. 下载管理提示“已暂停:大会员专享视频”(即使已经开通大会员)

截图 暂无

环境信息

日志

08-02 19:38:02.115  6495  6495 I EdXposed-Bridge: BiliRoaming : BiliBili process launched ...
08-02 19:38:02.117  6495  6495 I EdXposed-Bridge: BiliRoaming : Config: {show_hint=false, hidden=true, teenagers_mode_dialog=false, use_cdn=true, upos=, main_func=true, cdn=23.44.51.8, purify_search=false, allow_download=true, mini_program=false, purify_drawer=true, purify_game=true, show_info=true, add_live=false, comment_floor=false}
08-02 19:38:02.132  6495  6495 I EdXposed-Bridge: BiliRoaming : Reading hook info: /data/user/0/com.bilibili.app.in/cache/hookinfo.dat
08-02 19:38:02.142  6495  6495 I EdXposed-Bridge: BiliRoaming : {field_color_array=l, field_theme_name=null, method_get_setting_route=null, method_fastjson_parse=parseObject, class_column_helper=com.bilibili.column.helper.k, field_column_color_array=l, method_like=a, class_share_wrapper=com.bilibili.lib.sharewrapper.a, method_share_wrapper=a, method_save_skin=a, class_retrofit_response=retrofit2.l, class_theme_processor=tv.danmaku.bili.ui.theme.d, class_section=tv.danmaku.bili.ui.video.section.c, class_drawer=tv.danmaku.bili.ui.main2.NavigationFragmentV2, field_request=a, class_fastjson=com.alibaba.fastjson.JSON, class_theme_name=null, methods_theme_reset=, method_skin_list=a, class_theme_list_click=tv.danmaku.bili.ui.theme.ThemeStoreActivity$b, class_theme_helper=tv.danmaku.bili.ui.theme.a, method_url=a, field_video_detail=s, method_sign_query=a}
08-02 19:38:02.142  6495  6495 I EdXposed-Bridge: BiliRoaming : Check hook info completed: needUpdate = false
08-02 19:38:02.148  6495  6495 I EdXposed-Bridge: BiliRoaming : startHook: BangumiSeason
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: BiliRoaming : java.lang.NoSuchMethodError: com.bilibili.bplus.followingcard.api.entity.cardBean.VideoCard#getJumpUrl()#exact
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:344)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:185)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: b.b.a.f.d0(Unknown Source:8)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: a.a.a.b.d.a(:7)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit.a(:1)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit$f.beforeHookedMethod(:4)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: de.robv.android.xposed.XC_MethodHook.callBeforeHookedMethod(XC_MethodHook.java:51)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:357)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: SandHookerNew_2al0eb1fon7sefcfmqqn2mib2v.hook(Unknown Source:51)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: android.app.ActivityThread.handleBindApplication(ActivityThread.java:6460)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: com.swift.sandhook.SandHook.callOriginMethod(SandHook.java:185)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:375)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: SandHookerNew_5sm3dthec8858ee0to4kj3c1ge.hook(Unknown Source:51)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: android.app.ActivityThread.access$1300(ActivityThread.java:219)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: android.os.Handler.dispatchMessage(Handler.java:107)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: android.os.Looper.loop(Looper.java:214)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: android.app.ActivityThread.main(ActivityThread.java:7356)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
08-02 19:38:02.162  6495  6495 I EdXposed-Bridge: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: BiliRoaming : java.lang.NoSuchMethodError: com.bilibili.bplus.followingcard.api.entity.cardBean.VideoCard#getCommentJumpUrl()#exact
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:344)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:185)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: b.b.a.f.d0(Unknown Source:8)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: a.a.a.b.d.a(:9)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit.a(:1)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit$f.beforeHookedMethod(:4)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: de.robv.android.xposed.XC_MethodHook.callBeforeHookedMethod(XC_MethodHook.java:51)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:357)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: SandHookerNew_2al0eb1fon7sefcfmqqn2mib2v.hook(Unknown Source:51)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: android.app.ActivityThread.handleBindApplication(ActivityThread.java:6460)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: com.swift.sandhook.SandHook.callOriginMethod(SandHook.java:185)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:375)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: SandHookerNew_5sm3dthec8858ee0to4kj3c1ge.hook(Unknown Source:51)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: android.app.ActivityThread.access$1300(ActivityThread.java:219)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: android.os.Handler.dispatchMessage(Handler.java:107)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: android.os.Looper.loop(Looper.java:214)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: android.app.ActivityThread.main(ActivityThread.java:7356)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
08-02 19:38:02.163  6495  6495 I EdXposed-Bridge: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
08-02 19:38:02.179  6495  6495 I EdXposed-Bridge: BiliRoaming : startHook: BangumiPlayUrl
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: BiliRoaming : de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.bapis.bilibili.pgc.gateway.player.v1.PlayURLMoss
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:71)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: b.b.a.f.Q(Unknown Source:5)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: a.a.a.b.c.a(:19)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit.a(:1)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit$f.beforeHookedMethod(:4)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: de.robv.android.xposed.XC_MethodHook.callBeforeHookedMethod(XC_MethodHook.java:51)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:357)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: SandHookerNew_2al0eb1fon7sefcfmqqn2mib2v.hook(Unknown Source:51)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: android.app.ActivityThread.handleBindApplication(ActivityThread.java:6460)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: com.swift.sandhook.SandHook.callOriginMethod(SandHook.java:185)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:375)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: SandHookerNew_5sm3dthec8858ee0to4kj3c1ge.hook(Unknown Source:51)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: android.app.ActivityThread.access$1300(ActivityThread.java:219)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: android.os.Handler.dispatchMessage(Handler.java:107)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: android.os.Looper.loop(Looper.java:214)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: android.app.ActivityThread.main(ActivityThread.java:7356)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
08-02 19:38:02.198  6495  6495 I EdXposed-Bridge: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
08-02 19:38:02.200  6495  6495 I EdXposed-Bridge: BiliRoaming : startHook: Json
08-02 19:38:02.217  6495  6495 I EdXposed-Bridge: BiliRoaming : startHook: CDN
08-02 19:38:02.244  6495  6495 I EdXposed-Bridge: BiliRoaming : startHook: setting
08-02 19:38:03.209  6556  6556 I EdXposed-Bridge: BiliRoaming : Reading hook info: /data/user/0/com.bilibili.app.in/cache/hookinfo.dat
08-02 19:38:03.225  6556  6556 I EdXposed-Bridge: BiliRoaming : {field_color_array=l, field_theme_name=null, method_get_setting_route=null, method_fastjson_parse=parseObject, class_column_helper=com.bilibili.column.helper.k, field_column_color_array=l, method_like=a, class_share_wrapper=com.bilibili.lib.sharewrapper.a, method_share_wrapper=a, method_save_skin=a, class_retrofit_response=retrofit2.l, class_theme_processor=tv.danmaku.bili.ui.theme.d, class_section=tv.danmaku.bili.ui.video.section.c, class_drawer=tv.danmaku.bili.ui.main2.NavigationFragmentV2, field_request=a, class_fastjson=com.alibaba.fastjson.JSON, class_theme_name=null, methods_theme_reset=, method_skin_list=a, class_theme_list_click=tv.danmaku.bili.ui.theme.ThemeStoreActivity$b, class_theme_helper=tv.danmaku.bili.ui.theme.a, method_url=a, field_video_detail=s, method_sign_query=a}
08-02 19:38:03.226  6556  6556 I EdXposed-Bridge: BiliRoaming : Check hook info completed: needUpdate = false
08-02 19:38:03.243  6556  6556 I EdXposed-Bridge: BiliRoaming : startHook: CDN
08-02 19:38:28.059  6970  6970 I EdXposed-Bridge: BiliRoaming : Reading hook info: /data/user/0/com.bilibili.app.in/cache/hookinfo.dat
08-02 19:38:28.070  6970  6970 I EdXposed-Bridge: BiliRoaming : {field_color_array=l, field_theme_name=null, method_get_setting_route=null, method_fastjson_parse=parseObject, class_column_helper=com.bilibili.column.helper.k, field_column_color_array=l, method_like=a, class_share_wrapper=com.bilibili.lib.sharewrapper.a, method_share_wrapper=a, method_save_skin=a, class_retrofit_response=retrofit2.l, class_theme_processor=tv.danmaku.bili.ui.theme.d, class_section=tv.danmaku.bili.ui.video.section.c, class_drawer=tv.danmaku.bili.ui.main2.NavigationFragmentV2, field_request=a, class_fastjson=com.alibaba.fastjson.JSON, class_theme_name=null, methods_theme_reset=, method_skin_list=a, class_theme_list_click=tv.danmaku.bili.ui.theme.ThemeStoreActivity$b, class_theme_helper=tv.danmaku.bili.ui.theme.a, method_url=a, field_video_detail=s, method_sign_query=a}
08-02 19:38:28.070  6970  6970 I EdXposed-Bridge: BiliRoaming : Check hook info completed: needUpdate = false
08-02 19:38:28.073  6970  6970 I EdXposed-Bridge: BiliRoaming : startHook: CDN
08-02 19:38:28.846  6995  6995 I EdXposed-Bridge: BiliRoaming : BiliBili process launched ...
08-02 19:38:28.851  6995  6995 I EdXposed-Bridge: BiliRoaming : Config: {show_hint=false, hidden=true, teenagers_mode_dialog=false, use_cdn=true, upos=, main_func=true, cdn=23.44.51.8, purify_search=false, allow_download=true, mini_program=false, purify_drawer=true, purify_game=true, show_info=true, add_live=false, comment_floor=false}
08-02 19:38:28.870  6995  6995 I EdXposed-Bridge: BiliRoaming : Reading hook info: /data/user/0/com.bilibili.app.in/cache/hookinfo.dat
08-02 19:38:28.883  6995  6995 I EdXposed-Bridge: BiliRoaming : {field_color_array=l, field_theme_name=null, method_get_setting_route=null, method_fastjson_parse=parseObject, class_column_helper=com.bilibili.column.helper.k, field_column_color_array=l, method_like=a, class_share_wrapper=com.bilibili.lib.sharewrapper.a, method_share_wrapper=a, method_save_skin=a, class_retrofit_response=retrofit2.l, class_theme_processor=tv.danmaku.bili.ui.theme.d, class_section=tv.danmaku.bili.ui.video.section.c, class_drawer=tv.danmaku.bili.ui.main2.NavigationFragmentV2, field_request=a, class_fastjson=com.alibaba.fastjson.JSON, class_theme_name=null, methods_theme_reset=, method_skin_list=a, class_theme_list_click=tv.danmaku.bili.ui.theme.ThemeStoreActivity$b, class_theme_helper=tv.danmaku.bili.ui.theme.a, method_url=a, field_video_detail=s, method_sign_query=a}
08-02 19:38:28.883  6995  6995 I EdXposed-Bridge: BiliRoaming : Check hook info completed: needUpdate = false
08-02 19:38:28.895  6995  6995 I EdXposed-Bridge: BiliRoaming : startHook: BangumiSeason
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: BiliRoaming : java.lang.NoSuchMethodError: com.bilibili.bplus.followingcard.api.entity.cardBean.VideoCard#getJumpUrl()#exact
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:344)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:185)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: b.b.a.f.d0(Unknown Source:8)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: a.a.a.b.d.a(:7)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit.a(:1)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit$f.beforeHookedMethod(:4)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: de.robv.android.xposed.XC_MethodHook.callBeforeHookedMethod(XC_MethodHook.java:51)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:357)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: SandHookerNew_2al0eb1fon7sefcfmqqn2mib2v.hook(Unknown Source:51)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: android.app.ActivityThread.handleBindApplication(ActivityThread.java:6460)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: com.swift.sandhook.SandHook.callOriginMethod(SandHook.java:185)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:375)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: SandHookerNew_5sm3dthec8858ee0to4kj3c1ge.hook(Unknown Source:51)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: android.app.ActivityThread.access$1300(ActivityThread.java:219)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: android.os.Handler.dispatchMessage(Handler.java:107)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: android.os.Looper.loop(Looper.java:214)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: android.app.ActivityThread.main(ActivityThread.java:7356)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
08-02 19:38:28.931  6995  6995 I EdXposed-Bridge: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: BiliRoaming : java.lang.NoSuchMethodError: com.bilibili.bplus.followingcard.api.entity.cardBean.VideoCard#getCommentJumpUrl()#exact
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:344)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:185)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: b.b.a.f.d0(Unknown Source:8)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: a.a.a.b.d.a(:9)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit.a(:1)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit$f.beforeHookedMethod(:4)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: de.robv.android.xposed.XC_MethodHook.callBeforeHookedMethod(XC_MethodHook.java:51)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:357)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: SandHookerNew_2al0eb1fon7sefcfmqqn2mib2v.hook(Unknown Source:51)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: android.app.ActivityThread.handleBindApplication(ActivityThread.java:6460)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: com.swift.sandhook.SandHook.callOriginMethod(SandHook.java:185)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:375)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: SandHookerNew_5sm3dthec8858ee0to4kj3c1ge.hook(Unknown Source:51)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: android.app.ActivityThread.access$1300(ActivityThread.java:219)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: android.os.Handler.dispatchMessage(Handler.java:107)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: android.os.Looper.loop(Looper.java:214)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: android.app.ActivityThread.main(ActivityThread.java:7356)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
08-02 19:38:28.932  6995  6995 I EdXposed-Bridge: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
08-02 19:38:28.949  6995  6995 I EdXposed-Bridge: BiliRoaming : startHook: BangumiPlayUrl
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: BiliRoaming : de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.bapis.bilibili.pgc.gateway.player.v1.PlayURLMoss
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:71)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: b.b.a.f.Q(Unknown Source:5)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: a.a.a.b.c.a(:19)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit.a(:1)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: me.iacn.biliroaming.XposedInit$f.beforeHookedMethod(:4)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: de.robv.android.xposed.XC_MethodHook.callBeforeHookedMethod(XC_MethodHook.java:51)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:357)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: SandHookerNew_2al0eb1fon7sefcfmqqn2mib2v.hook(Unknown Source:51)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: android.app.ActivityThread.handleBindApplication(ActivityThread.java:6460)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: com.swift.sandhook.SandHook.callOriginMethod(SandHook.java:185)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:375)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: SandHookerNew_5sm3dthec8858ee0to4kj3c1ge.hook(Unknown Source:51)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: android.app.ActivityThread.access$1300(ActivityThread.java:219)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: android.os.Handler.dispatchMessage(Handler.java:107)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: android.os.Looper.loop(Looper.java:214)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: android.app.ActivityThread.main(ActivityThread.java:7356)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: java.lang.reflect.Method.invoke(Native Method)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
08-02 19:38:28.979  6995  6995 I EdXposed-Bridge: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
08-02 19:38:28.986  6995  6995 I EdXposed-Bridge: BiliRoaming : startHook: Json
08-02 19:38:29.036  6995  6995 I EdXposed-Bridge: BiliRoaming : startHook: CDN
08-02 19:38:29.153  6995  6995 I EdXposed-Bridge: BiliRoaming : startHook: setting
yujincheng08 commented 4 years ago

请尝试2.6.0版本

rhjdvsgsgks commented 4 years ago

我不是很想用新版的 bilibili ,感觉有点太臃肿了,很多功能我都用不上 edit 稍等,我试试

yujincheng08 commented 4 years ago

@rhjdvsgsgks 但我也不可能为各种旧版本都来适配一下🤔

rhjdvsgsgks commented 4 years ago

确实是这样,那我还是忍忍吧

虽然我很想试试260是否也有这个问题,但我手机是 armv7 的,而 apkpure 上只有 armv8 的包,装不上(尴尬

rhjdvsgsgks commented 4 years ago

能否列一下明确支持哪些版本,是只支持最新版吗?

yujincheng08 commented 4 years ago

@rhjdvsgsgks 每次更新我都尽量兼容旧版本的。但是只保证最新版的完整功能支持。 还是那句话,我不可能各个版本都测试一遍兼容性。

rhjdvsgsgks commented 4 years ago

您好,我自己尝试着研究了下,确实不好修,com.bapis.bilibili.pgc.gateway.player.v1.PlayURLMosscom.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之后才拆成了 getJumpUrlgetUrl 两部分,试了下直接把 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 上来

yujincheng08 commented 4 years ago

@rhjdvsgsgks com.bapis.bilibili.pgc.gateway.player.v1.PlayURLMosscom.bilibili.bplus.followingcard.api.entity.cardBean.VideoCard的hook失效不影响解锁。 purify_search那边换个类名就可以,具体自己打Log看点搜索栏时候两个parse函数返回了什么类。 番剧解锁是先尝试解析,发现有版权限制再使用biliplus修复解析结果。 LibBili的hook是为了去掉dl=1,有版权的番剧在解析地址时候有dl=1会解析失败。

rhjdvsgsgks commented 3 years ago

40 加了一行之后好像修好了

之前发现播放可正常解锁但下载不行,试着在 OkHttpURLConnection 这个 method 之前加个 log ,在播放时能显示但下载时没有,以为播放和下载调的不是同一个 method 所以没 hook 上,花了两三天把从 b.ehn 到 com.bilibili.lib.okhttp.huc.OkHttpURLConnection 之间所有被用到的 method 都 hook 了一遍在开始时输出 log ,最后发现是根本没去 hook ,加一行添加 url 的 hook 就好了

rhjdvsgsgks commented 3 years ago

43 加了两行好了

之前说的没错,第二个 purify_search 附近 (也就是 parseArray) 确实没有被解析热词和排名时使用,但有经过 fastJsonParse ,解析时的类名也和新版不一样,所以加进去就好了