mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-28 01:18:30 +00:00
revert moving comment extraction to late running function
This commit is contained in:
parent
167812af9d
commit
4ddd8de69b
@ -639,12 +639,7 @@ def _real_extract(self, url):
|
||||
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
Block a user