redo moving chat extraction to __post_exctractor

This commit is contained in:
mpeter50 2023-09-09 22:43:48 +02:00
parent 09760b227d
commit 0500dbd905

View File

@ -633,7 +633,7 @@ def _real_extract(self, url):
info['start_time'] = parse_duration(query['t'][0])
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