From ecbd1ec954a4004b5038e00ad58c5ee7e560aab9 Mon Sep 17 00:00:00 2001 From: dirkf Date: Thu, 29 Jul 2021 13:17:19 +0100 Subject: [PATCH] Also extract display_id for TwitchClipsIE Fixes #29666 --- youtube_dl/extractor/twitch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index a378bd6dc..0f22f2f40 100644 --- a/youtube_dl/extractor/twitch.py +++ b/youtube_dl/extractor/twitch.py @@ -864,6 +864,7 @@ class TwitchClipsIE(TwitchBaseIE): 'md5': '761769e1eafce0ffebfb4089cb3847cd', 'info_dict': { 'id': '42850523', + 'display_id': 'FaintLightGullWholeWheat', 'ext': 'mp4', 'title': 'EA Play 2016 Live from the Novo Theatre', 'thumbnail': r're:^https?://.*\.jpg', @@ -976,6 +977,7 @@ class TwitchClipsIE(TwitchBaseIE): return { 'id': clip.get('id') or video_id, + 'display_id': video_id, 'title': clip.get('title') or video_id, 'formats': formats, 'duration': int_or_none(clip.get('durationSeconds')),