diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-08-05 01:13:10 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-08-05 03:37:20 +0530 |
commit | 678da2f21b9a9ff0329bc64469f5312f4ef9d921 (patch) | |
tree | ee84ec3d08587e6ca21cec37b5444e2a09a44c4d | |
parent | cc3fa8d39df5e954c26e62fdd77138f16a14e7a9 (diff) | |
download | hypervideo-pre-678da2f21b9a9ff0329bc64469f5312f4ef9d921.tar.lz hypervideo-pre-678da2f21b9a9ff0329bc64469f5312f4ef9d921.tar.xz hypervideo-pre-678da2f21b9a9ff0329bc64469f5312f4ef9d921.zip |
[twitch:clips] Extract `display_id`
PR: https://github.com/ytdl-org/youtube-dl/pull/29684
Fixes: https://github.com/ytdl-org/youtube-dl/issues/29666
Authored by: dirkf
-rw-r--r-- | yt_dlp/extractor/twitch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yt_dlp/extractor/twitch.py b/yt_dlp/extractor/twitch.py index ee677c0ce..e544e4737 100644 --- a/yt_dlp/extractor/twitch.py +++ b/yt_dlp/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')), |