mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix subtitle undefined in batch export
This commit is contained in:
parent
fd8f067976
commit
e4bd5070e3
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
@ -77,7 +77,7 @@
|
||||
"download-subtitle.min.js": "BC3CB396CB53A6159EA14BFFCA3891990BFB9E2384E44C808E8AD50086666851",
|
||||
"download-video.min.css": "7AC9B1E16E3D291874673CE05A91146FE16ED6654AA471B12D303646E8C89819",
|
||||
"download-video.min.html": "282D0949AAE4214D72C73C7383787C24515DF5F900AF007C34713A7224F5D1F1",
|
||||
"download-video.min.js": "7F31CD91AD1CD51C3AC206E113309AA8F385EA4F6451B10995D14475FCF05F40",
|
||||
"download-video.min.js": "EEE8EDABBE521DEC82ABF80F0EEF4B5C08E088E4E46E0F9049C3075DC0DBEF1B",
|
||||
"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
@ -874,6 +874,9 @@ async function loadPanel() {
|
||||
for (const item of episodeList.filter(episodeFilter)) {
|
||||
const subtitles = await getSubtitleList(item.aid, item.cid)
|
||||
const subtitle = subtitles.find(s => s.language === language) || subtitles[0]
|
||||
if (subtitle === undefined) {
|
||||
continue
|
||||
}
|
||||
const json = await Ajax.getJson(subtitle.url)
|
||||
const rawData = json.body
|
||||
if (this.subtitleModel.value === 'JSON') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user