mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix only 480P & 360P
This commit is contained in:
parent
09000be5e0
commit
1e65ff4ba1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -69,7 +69,7 @@
|
||||
"download-subtitle.min.js": "4B99A00FEEA40C6D577AC8BD8DFFD34D91B75E150C7848B965D58B0096DF762C",
|
||||
"download-video.min.css": "9B7FFAC852999B11DB62B6467CDBA1AEE53B7F3FA6C592185281542B25AF527A",
|
||||
"download-video.min.html": "B7EC01DF01DBA78A7B009BDA78865891A974F84A1D72964B7393A07E50D5E5F5",
|
||||
"download-video.min.js": "17106554EA0409FD3653BDEE674D8BCF12AA88C2E321C71E000A54BBEEC372C9",
|
||||
"download-video.min.js": "B61A2ADB1FF7490CED38E05F9B468733E5058B2BCB3BC21DBF40FB8CA252A517",
|
||||
"download-video-package.min.js": "B10FF11DE7DFBACEC38F195B8E836511E527215B5E177CB1D223D14F30EB1435",
|
||||
"dpi-img.vue.min.js": "11DF7577B754D8C01E8331E4FDAC9494E72523099845A0D6B0D897849CD841D6",
|
||||
"expand-danmaku.min.js": "B21658C40085AEA8DC49652AE62EB8610BB2EBEAF7A9C9AF69EF3B11E08EEC8D",
|
||||
|
||||
BIN
min/bundle.zip
BIN
min/bundle.zip
Binary file not shown.
2
min/download-video.min.js
vendored
2
min/download-video.min.js
vendored
File diff suppressed because one or more lines are too long
@ -129,11 +129,11 @@ class VideoFormat {
|
||||
static async filterFormats(formats: VideoFormat[]) {
|
||||
// return formats
|
||||
if (userInfo === null) {
|
||||
userInfo = await Ajax.getJsonWithCredentials('https://api.bilibili.com/x/web-interface/nav')
|
||||
userInfo = (await Ajax.getJsonWithCredentials('https://api.bilibili.com/x/web-interface/nav')).data
|
||||
}
|
||||
_.remove(formats, f => {
|
||||
const q = f.quality
|
||||
if (!userInfo!.isLogin) {
|
||||
if (userInfo!.isLogin === false) {
|
||||
return q >= 64
|
||||
}
|
||||
if (userInfo!.vipStatus !== 1) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user