mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-10 07:18:33 +00:00
redo moving chat extraction to __post_exctractor
This commit is contained in:
parent
4ddd8de69b
commit
72dbbb5763
@ -639,7 +639,7 @@ def _real_extract(self, url):
|
|||||||
info['start_time'] = parse_duration(query['t'][0])
|
info['start_time'] = parse_duration(query['t'][0])
|
||||||
|
|
||||||
if info.get('timestamp'):
|
if info.get('timestamp'):
|
||||||
info['subtitles'] = self.extract_subtitles(vod_id)
|
info['__post_extractor'] = lambda: {'requested_subtitles': {'rechat': traverse_obj(self.extract_subtitles(vod_id), ['rechat', 0])}}
|
||||||
|
|
||||||
return info
|
return info
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user