mirror of https://github.com/yt-dlp/yt-dlp.git
revert moving comment extraction to late running function
This commit is contained in:
parent
e4a56bd921
commit
09760b227d
|
@ -633,12 +633,7 @@ class TwitchVodIE(TwitchBaseIE):
|
|||
info['start_time'] = parse_duration(query['t'][0])
|
||||
|
||||
if info.get('timestamp'):
|
||||
info['subtitles'] = {'rechat': [{
|
||||
'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)}
|
||||
info['subtitles'] = self.extract_subtitles(vod_id)
|
||||
|
||||
return info
|
||||
|
||||
|
|
Loading…
Reference in New Issue