From 72dbbb5763ab61f1b76c15204791b2e696c5ebee 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 215386c828..32d396175b 100644 --- a/yt_dlp/extractor/twitch.py +++ b/yt_dlp/extractor/twitch.py @@ -639,7 +639,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