mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-28 01:18:30 +00:00
fix setting the subtitle in the infodict
This commit is contained in:
parent
0aa41b8e84
commit
43fd8ad02f
@ -627,7 +627,7 @@ def _real_extract(self, url):
|
||||
'url': update_url_query(f'https://api.twitch.tv/v5/videos/{vod_id}/comments',
|
||||
{'client_id': self._CLIENT_ID}),
|
||||
'ext': 'json',
|
||||
}]},
|
||||
}]}
|
||||
info['__post_extractor'] = lambda: {'subtitles': self.extract_subtitles(vod_id)}
|
||||
|
||||
return info
|
||||
|
Loading…
Reference in New Issue
Block a user