fix setting the subtitle in the infodict

pull/1551/head
mpeter50 2 years ago
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…
Cancel
Save