mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 23:26:53 +01:00
parent
8c6f4daa4c
commit
d6124e191e
@ -800,7 +800,6 @@ def _get_subtitles(self, type, ep_id):
|
||||
sub_data = self._download_json(sub_url, ep_id, fatal=False)
|
||||
if not sub_data:
|
||||
continue
|
||||
sub_data = self._parse_json(sub_data)
|
||||
subtitles.setdefault(sub.get('key', 'en'), []).append({
|
||||
'ext': 'srt',
|
||||
'data': self.json2srt(sub_data)
|
||||
|
Loading…
Reference in New Issue
Block a user