diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index df4c39f1c..279fa3f9b 100644 --- a/youtube_dl/extractor/twitch.py +++ b/youtube_dl/extractor/twitch.py @@ -705,6 +705,7 @@ class TwitchClipsIE(TwitchBaseIE): clip(slug: "%s") { broadcaster { displayName + id } createdAt curator { @@ -774,6 +775,7 @@ class TwitchClipsIE(TwitchBaseIE): 'timestamp': unified_timestamp(clip.get('createdAt')), 'thumbnails': thumbnails, 'creator': try_get(clip, lambda x: x['broadcaster']['displayName'], compat_str), + 'creator_id': try_get(clip, lambda x: x['broadcaster']['id'], compat_str), 'uploader': try_get(clip, lambda x: x['curator']['displayName'], compat_str), 'uploader_id': try_get(clip, lambda x: x['curator']['id'], compat_str), }