Greasy Fork is available in English.

解除B站区域限制

通过替换获取视频地址接口的方式, 实现解除B站区域限制;

< Feedback on 解除B站区域限制

Review: OK - script works, but has bugs

§
Posted: 31.03.2023

最近突然出现的,换服务器没有用,求大佬帮忙看看

§
Posted: 31.03.2023

可以看评论,就是单纯不能看视频

§
Posted: 31.03.2023

debug: atRun: -1, loading
debug: [解除B站区域限制 v8.4.0 (Tampermonkey)] run on: https://www.bilibili.com/bangumi/media/md28408767/?spm_id_from=333.937.b_6d656469615f6d6f64756c65.2
debug: window.__playinfo__
debug: XMLHttpRequest的描述符: {"writable":true,"enumerable":false,"configurable":true}
info: mode: default blocked_vip: server: https://www.biliplus.com upos_server: kodo flv_prefer_ws: remove_pre_ad: generate_sub: enable_in_av: readyState: loading isLogin: true isLoginBiliBili: true
debug: set jQuery -> function(a,b){return new e.fn.init(a,b,h)}
debug: injectAjax at: function(a,b){return new e.fn.init(a,b,h)}
debug: atRun: 0, interactive
warn: danmukuBox not found!
debug: retryUntil.ajaxBy$: function(a,b){return new e.fn.init(a,b,h)}
debug: ajax: https://www.biliplus.com/api/bangumi?season=44125&access_key={{access_key}}
debug: atRun: 1, interactive
debug: /x/web-interface/nav {"uname":"樱月洋流","isLogin":true,"level":5,"vipType":2,"vipStatus":1,"isFromReport":false}
debug: /season/user/status: {"code":0,"message":"success","result":{"area_limit":1,"ban_area_show":4,"follow":1,"follow_status":2,"login":1,"pay":1,"pay_pack_paid":0,"progress":{"last_ep_id":706735,"last_ep_index":"1","last_time":0},"real_price":"0","sponsor":0,"vip_info":{"due_date":1709136000000,"status":1,"type":2}}}
debug: setAreaLimitSeason 000 true
debug: fetch https://api.bilibili.com/x/web-interface/wbi/search/default?w_rid=330b5d42a9b68e12015d7194acc67999&wts=1680271988 {"params":{"w_rid":"330b5d42a9b68e12015d7194acc67999","wts":"1680271988"},"credentials":"include","method":"GET","headers":{"Accept":"application/json, text/plain, */*"},"signal":{}}
debug: fetch https://api.bilibili.com/x/web-show/wbi/res/locs?pf=0&ids=2837,2836,2870,2953,2954,2955,2956,5672&w_rid=edb6576dc554a7aaaff28eb81da427dd&wts=1680271988 {"params":{"pf":0,"ids":"2837,2836,2870,2953,2954,2955,2956,5672","w_rid":"edb6576dc554a7aaaff28eb81da427dd","wts":"1680271988"},"method":"GET","headers":{"Accept":"application/json, text/plain, */*"},"credentials":"include","signal":{}}
debug: /x/web-interface/nav {"uname":"樱月洋流","isLogin":true,"level":5,"vipType":2,"vipStatus":1,"isFromReport":false}
debug: fetch https://api.bilibili.com/x/web-interface/dynamic/entrance?alltype_offset=0&video_offset=779224749830045800&article_offset=0 {"params":{"alltype_offset":0,"video_offset":"779224749830045800","article_offset":0},"method":"GET","headers":{"Accept":"application/json, text/plain, */*"},"credentials":"include","signal":{}}
debug: fetch https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/web_homepage?alltype_offset=0&video_offset=779224749830045800&article_offset=0 {"params":{"alltype_offset":0,"video_offset":"779224749830045800","article_offset":0},"method":"GET","headers":{"Accept":"application/json, text/plain, */*"},"credentials":"include","signal":{}}
debug: fetch https://api.vc.bilibili.com/link_setting/v1/link_setting/get?build=0&mobi_app=web&msg_notify=1&show_unfollowed_msg=1 {"params":{"build":0,"mobi_app":"web","msg_notify":1,"show_unfollowed_msg":1},"method":"GET","headers":{"Accept":"application/json, text/plain, */*"},"credentials":"include","signal":{}}
debug: atRun: 2, complete
debug: fetch https://api.bilibili.com/x/msgfeed/unread?build=0&mobi_app=web {"params":{"build":0,"mobi_app":"web"},"method":"GET","headers":{"Accept":"application/json, text/plain, */*"},"credentials":"include","signal":{}}
debug: fetch https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread?build=0&mobi_app=web&unread_type=0 {"params":{"build":0,"mobi_app":"web","unread_type":0},"method":"GET","headers":{"Accept":"application/json, text/plain, */*"},"credentials":"include","signal":{}}
debug: season44125 {"code":0,"message":"success","result":{"actor":[{"actor":"花守由美里","actor_id":0,"role":"賽伊卡·蘭布羅格"},{"actor":"梅原裕一郎","actor_id":0,"role":"玖峨晴嘉"},{"actor":"稗田寧寧","actor_id":0,"role":"阿米優"},{"actor":"和氣杏未","actor_id":0,"role":"伊法"},{"actor":"鬼頭明里","actor_id":0,"role":"梅貝爾·克萊因"},{"actor":"小倉唯","actor_id":0,"role":"雪"},{"actor":"速水獎","actor_id":0,"role":"布雷斯·蘭布羅格"},{"actor":"五十嵐麗","actor_id":0,"role":"貝露達·蘭布羅格"}],"alias":"最強陰陽師の異世界転生記","allow_bp":"0","allow_download":"0","area":"日本","arealimit":0,"bangumi_id":"6328","bangumi_title":"最強陰陽師的異世界轉生記(僅限港澳台地區)","brief":"被稱為天才的陰陽師「玖峨晴嘉」,因在宮中遭受背叛而死,他在臨死之際運用了秘術轉生到了異世界。轉生後的...","business_type":1,"copyright":"bilibili","cover":"https://i0.hdslb.com/bfs/bangumi/image/7ada5eba46ebfdb657c8bfb20c0eab716d57cf75.png","danmaku_count":"-1","dm_seg":1,"ed_jump":5,"episodes":[{"av_id":"438603866","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/7315d50e29c5d1ef8f6fb666373cdd9ab0213f3a.png","danmaku":"1057146668","episode_id":"706746","episode_status":2,"episode_type":0,"from":"bangumi","index":"12","index_title":"最惡劣的魔王","is_new":"1","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-03-26 01:00:01.0"},{"av_id":"567860170","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/280454ce19195cd71d8e4525bc7dcc20c13cfc95.png","danmaku":"1032665220","episode_id":"706745","episode_status":2,"episode_type":0,"from":"bangumi","index":"11","index_title":"預見未來","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-03-19 01:00:01.0"},{"av_id":"992850845","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/3a42b8d432ccb78e4e975006ed5a7df8aa2dc5e5.png","danmaku":"1032660410","episode_id":"706744","episode_status":2,"episode_type":0,"from":"bangumi","index":"10","index_title":"聖皇女","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-03-12 01:00:01.0"},{"av_id":"525360406","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/0642402378e5c608298ba86ed4408b1a22471cf7.png","danmaku":"1032658373","episode_id":"706743","episode_status":2,"episode_type":0,"from":"bangumi","index":"9","index_title":" 伊姂的決心","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-03-05 01:00:01.0"},{"av_id":"437419405","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/c1d2f9850231ef0338a42c58433e34911ff5b8df.png","danmaku":"1023483976","episode_id":"706742","episode_status":2,"episode_type":0,"from":"bangumi","index":"8","index_title":"伊姂的心意","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-02-26 01:00:01.0"},{"av_id":"651815612","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/d8b0776eff8f9a0cde45c448c1e81fd3a93b3653.png","danmaku":"1007515774","episode_id":"706741","episode_status":2,"episode_type":0,"from":"bangumi","index":"7","index_title":"兄妹","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-02-19 01:00:01.0"},{"av_id":"481532580","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/50d19bde1702e107907722c8c9778ec6637bb57d.png","danmaku":"1000441891","episode_id":"706740","episode_status":2,"episode_type":0,"from":"bangumi","index":"6","index_title":"各自的打算","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-02-12 01:00:01.0"},{"av_id":"692705442","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/65d9a038c585de86c80bbf16a1f5001800624706.png","danmaku":"964024408","episode_id":"706739","episode_status":2,"episode_type":0,"from":"bangumi","index":"5","index_title":"梅貝爾·克萊恩","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-02-05 01:00:01.0"},{"av_id":"222685701","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/b8c2aed2ba8ef0907d35e0c0d17be53b5966b5ef.png","danmaku":"964022593","episode_id":"706738","episode_status":2,"episode_type":0,"from":"bangumi","index":"4","index_title":"地下迷宮陷阱","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-01-29 01:00:01.0"},{"av_id":"307714833","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/a426bac244f948bed0cb365bb8ab33992503597e.png","danmaku":"964019805","episode_id":"706737","episode_status":2,"episode_type":0,"from":"bangumi","index":"3","index_title":"天啟的勇者","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-01-22 01:00:01.0"},{"av_id":"820217013","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/80b55513a664ca648576ebaedc156cd6635a02ca.png","danmaku":"962502772","episode_id":"706736","episode_status":2,"episode_type":0,"from":"bangumi","index":"2","index_title":"都市學園羅德內亞","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-01-15 01:00:01.0"},{"av_id":"989813479","coins":"0","cover":"https://i0.hdslb.com/bfs/archive/e191148f7f3302a4c4d793c1c51bb3a5019a336c.png","danmaku":"952416024","episode_id":"706735","episode_status":2,"episode_type":0,"from":"bangumi","index":"1","index_title":"最強陰陽師","is_webplay":"0","mid":"11783021","page":"1","premiere":false,"up":{},"update_time":"2023-01-08 01:00:01.0"}],"evaluate":"被稱為天才的陰陽師「玖峨晴嘉」,因在宮中遭受背叛而死,他在臨死之際運用了秘術轉生到了異世界。轉生後的他深深反省了前世不夠狡猾的自己,決定要在這次的世界中幸福的過日子。","favorites":"-1","has_unfollow":0,"is_finish":"0","is_guide_follow":1,"jp_title":"最強陰陽師の異世界転生記","limit_info":{"code":0,"data":{"down":0,"play":2},"message":"success"},"media":{"area":[{"id":2,"name":"日本"}],"cover":"https://i0.hdslb.com/bfs/bangumi/image/7ada5eba46ebfdb657c8bfb20c0eab716d57cf75.png","episode_index":{"index_show":"连载中, 每周一 01:00更新"},"media_id":28408767,"publish":{"is_finish":0,"is_started":1},"title":"最強陰陽師的異世界轉生記(僅限港澳台地區)","type_id":1,"type_name":"动画"},"newest_ep_id":"706746","newest_ep_index":"12","origin_name":"最強陰陽師の異世界転生記","payment":{"price":"0","promotion":"","tip":"大会员专享观看特权哦~","vip_promotion":"成為大會員搶先看"},"play_count":"-1","pub_string":"","pub_time":"2023-01-08 01:00:00","pub_time_show":"1月8日 01:00 ","related_seasons":[],"rights":{"arealimit":0,"is_started":1},"season_id":"44125","season_status":13,"season_title":"TV","seasons":[{"bangumi_id":"6328","cover":"https://i0.hdslb.com/bfs/bangumi/image/7ada5eba46ebfdb657c8bfb20c0eab716d57cf75.png","is_finish":"0","newest_ep_id":"706746","newest_ep_index":"12","pub_real_time":"2023-03-26 01:00:01.0","season_id":"44125","season_status":13,"title":"TV","total_count":"13"}],"share_url":"http://bangumi.bilibili.com/anime/44125/","spid":"0","squareCover":"https://i0.hdslb.com/bfs/bangumi/image/2320dc1674014f752141ef29c2065e9762f17985.png","staff":"原作:小鈴危一\n角色原案:柚希きひろ / 夕薙\n漫畫:岡崎俊憲(オカザキトシノリ)\n導演:澀谷亮介\n總導演:長山延好\n系列構成、劇本:待田堂子\n角色設計:菊池政芳 / 上野沙彌佳\n音樂:桶狹間有沙\n動畫製作:Studio Blanc.","tag2s":[],"tags":[],"title":"最強陰陽師的異世界轉生記(僅限港澳台地區)","total_count":"13","update_pattern":"每周一 01:00更新","user_season":{"attention":"0","bp":0,"last_ep_index":"","last_time":"0","report_ts":0},"viewRank":0,"vip_quality":0,"watchingCount":"0","weekday":"-1"}}
debug: => ali
debug: balh_upos_replace_akamai =>
debug: userAgent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.54

§
Posted: 31.03.2023

我把定位关了,好像能用了。
好神奇...

Post reply

Sign in to post a reply.