From 0500dbd9056dd7102daf75254169c72ef2727656 Mon Sep 17 00:00:00 2001 From: mpeter50 <83356418+mpeter50@users.noreply.github.com> Date: Sat, 9 Sep 2023 22:43:48 +0200 Subject: [PATCH] redo moving chat extraction to __post_exctractor --- yt_dlp/extractor/twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/twitch.py b/yt_dlp/extractor/twitch.py index 1a4bee023..ae2d0a32a 100644 --- a/yt_dlp/extractor/twitch.py +++ b/yt_dlp/extractor/twitch.py @@ -633,7 +633,7 @@ class TwitchVodIE(TwitchBaseIE): 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