1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-28 09:28:33 +00:00

fix setting the subtitle in the infodict

This commit is contained in:
mpeter50 2023-07-14 14:47:51 +02:00
parent 0aa41b8e84
commit 43fd8ad02f

View File

@ -627,7 +627,7 @@ def _real_extract(self, url):
'url': update_url_query(f'https://api.twitch.tv/v5/videos/{vod_id}/comments', 'url': update_url_query(f'https://api.twitch.tv/v5/videos/{vod_id}/comments',
{'client_id': self._CLIENT_ID}), {'client_id': self._CLIENT_ID}),
'ext': 'json', 'ext': 'json',
}]}, }]}
info['__post_extractor'] = lambda: {'subtitles': self.extract_subtitles(vod_id)} info['__post_extractor'] = lambda: {'subtitles': self.extract_subtitles(vod_id)}
return info return info