[bilibili] Fix bug in efc947fb3e

Authored by: u-spec-png
This commit is contained in:
u-spec-png 2021-10-09 02:04:02 +00:00 committed by GitHub
parent 8c6f4daa4c
commit d6124e191e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -800,7 +800,6 @@ class BiliIntlBaseIE(InfoExtractor):
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)