mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-15 07:42:42 +00:00
[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
This commit is contained in:
parent
cc3fa8d39d
commit
678da2f21b
1 changed files with 2 additions and 0 deletions
|
@ -864,6 +864,7 @@ class TwitchClipsIE(TwitchBaseIE):
|
||||||
'md5': '761769e1eafce0ffebfb4089cb3847cd',
|
'md5': '761769e1eafce0ffebfb4089cb3847cd',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '42850523',
|
'id': '42850523',
|
||||||
|
'display_id': 'FaintLightGullWholeWheat',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'EA Play 2016 Live from the Novo Theatre',
|
'title': 'EA Play 2016 Live from the Novo Theatre',
|
||||||
'thumbnail': r're:^https?://.*\.jpg',
|
'thumbnail': r're:^https?://.*\.jpg',
|
||||||
|
@ -976,6 +977,7 @@ class TwitchClipsIE(TwitchBaseIE):
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': clip.get('id') or video_id,
|
'id': clip.get('id') or video_id,
|
||||||
|
'display_id': video_id,
|
||||||
'title': clip.get('title') or video_id,
|
'title': clip.get('title') or video_id,
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
'duration': int_or_none(clip.get('durationSeconds')),
|
'duration': int_or_none(clip.get('durationSeconds')),
|
||||||
|
|
Loading…
Reference in a new issue