Skip to content
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

视频画质问题 #1311

Open
MiKoto-Railgun opened this issue Jan 24, 2024 · 4 comments
Open

视频画质问题 #1311

MiKoto-Railgun opened this issue Jan 24, 2024 · 4 comments

Comments

@MiKoto-Railgun
Copy link

港澳台视频是可以加载出来,画质锁死在480P,可以调360P,但在那之上的选项调不了,已经账号授权且多次刷新

@MiKoto-Railgun
Copy link
Author

debug: atRun: -1, loading
debug: [解除B站区域限制 v8.5.2 (Tampermonkey)] run on: https://www.bilibili.com/bangumi/play/ep476650
debug: window.playinfo
debug: XMLHttpRequest的描述符: {"writable":true,"enumerable":false,"configurable":true}
info: mode: default blocked_vip: server: https://www.biliplus.com upos_server: ali flv_prefer_ws: remove_pre_ad: Y generate_sub: Y enable_in_av: Y 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: /x/web-interface/nav {"uname":"时空定标","isLogin":true,"level":5,"vipType":1,"vipStatus":0,"isFromReport":false}
debug: atRun: 0, interactive
debug: retryUntil.ajaxBy$: function(a,b){return new e.fn.init(a,b,h)}
debug: ajax: //api.bilibili.com/pgc/view/v2/app/season?access_key={{access_key}}&appkey=27eb53fc9058f8c3&ep_id=476650&season_id=&sign=93005365a2960b732a28b381f666c134
debug: atRun: 1, interactive
debug: retryUntil.ajaxBy$: function(a,b){return new e.fn.init(a,b,h)}
debug: ajax: //api.bilibili.com/pgc/web/season/section?season_id=41496
debug: atRun: 2, complete
debug: retryUntil.ajaxBy$: function(a,b){return new e.fn.init(a,b,h)}
debug: ajax: //api.bilibili.com/pgc/season/episode/web/info?ep_id=476639
debug: playinfo get
debug: season_type: 1
info: player msg: 从自定义服务器拉取视频地址中...
info: player msg: 捕获标题提示,使用香港代理服务器拉取视频地址...
debug: retryUntil.ajaxBy$: function(a,b){return new e.fn.init(a,b,h)}
debug: ajax: https://hk.biliroaming.bili33.top/pgc/player/web/playurl?cid=750545796&qn=80&type=&otype=json&fourk=1&bvid=BV1EF411c7SQ&ep_id=476650&fnver=0&fnval=4048&session=fa1749d24fe9193447b91cd868728366&module=bangumi&area=hk&access_key=a0e6454622fd81fd2339c0b746a6e711
debug: playinfo set
debug: set jQuery function(a,b){return new e.fn.init(a,b,h)} -> function i(t,a){return new i.fn.init(t,a,e)
}
debug: injectAjax at: function i(t,a){return new i.fn.init(t,a,e)
}
debug: playinfo get
debug: /x/web-interface/nav {"uname":"时空定标","isLogin":true,"level":5,"vipType":1,"vipStatus":0,"isFromReport":false}
debug: /bfs/subtitle https://aisubtitle.hdslb.com/bfs/subtitle/bc8960f63a105d80c68dfe6e23d84e396c63dc40.json?auth_key=1706080897-0e2ce60e2dae43dc9da0ad6f1553b6e9-0-5a9563a6494f851e8de28c88ad4703a9&translate=1&from=tw&to=cn
debug: userAgent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0

@MiKoto-Railgun
Copy link
Author

问题网址:https://www.bilibili.com/bangumi/play/ep476650
PixPin_2024-01-24_15-30-08

@Howard20181
Copy link
Contributor

Howard20181 commented Jan 27, 2024

无法复现,尝试更换代理服务器,目前发现 rust 端会缓存低分辨率的播放链接 #1303
image

@paigupai
Copy link

paigupai commented Apr 8, 2024

我有个比较麻烦的方法可以解决,这个问题应该是access_key授权有问题
可以使用https://www.biliplus.com/ ,授权,然后获取到access_key,refresh_token,expires_in这三个值,将这仨值,直接注入

     localStorage.access_key = access_token;
     localStorage.refresh_token = refresh_token;
     localStorage.oauth_expires_at = (Date.now() / 1000 + expires_in) * 1000;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants