mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-15 13:19:48 +00:00
fix setting the subtitle in the infodict
This commit is contained in:
parent
0aa41b8e84
commit
43fd8ad02f
@ -627,7 +627,7 @@ class TwitchVodIE(TwitchBaseIE):
|
||||
'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…
x
Reference in New Issue
Block a user