1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-19 11:39:28 +00:00

Also extract display_id for TwitchClipsIE

Fixes #29666
This commit is contained in:
dirkf 2021-07-29 13:17:19 +01:00 committed by df
parent a803582717
commit ecbd1ec954

View file

@ -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')),