mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-28 22:24:34 +01:00
parent
8c6f4daa4c
commit
d6124e191e
1 changed files with 0 additions and 1 deletions
|
@ -800,7 +800,6 @@ class BiliIntlBaseIE(InfoExtractor):
|
||||||
sub_data = self._download_json(sub_url, ep_id, fatal=False)
|
sub_data = self._download_json(sub_url, ep_id, fatal=False)
|
||||||
if not sub_data:
|
if not sub_data:
|
||||||
continue
|
continue
|
||||||
sub_data = self._parse_json(sub_data)
|
|
||||||
subtitles.setdefault(sub.get('key', 'en'), []).append({
|
subtitles.setdefault(sub.get('key', 'en'), []).append({
|
||||||
'ext': 'srt',
|
'ext': 'srt',
|
||||||
'data': self.json2srt(sub_data)
|
'data': self.json2srt(sub_data)
|
||||||
|
|
Loading…
Reference in a new issue