From 43fd8ad02f35f65c0d0132dc67841567e55b1125 Mon Sep 17 00:00:00 2001 From: mpeter50 <83356418+mpeter50@users.noreply.github.com> Date: Fri, 14 Jul 2023 14:47:51 +0200 Subject: [PATCH] fix setting the subtitle in the infodict --- 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 4a20de25e..48235c76c 100644 --- a/yt_dlp/extractor/twitch.py +++ b/yt_dlp/extractor/twitch.py @@ -627,7 +627,7 @@ def _real_extract(self, url): '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)} return info