Compare commits

...

2 Commits

Author SHA1 Message Date
dirkf
771f7e6740
Merge ecbd1ec954 into e1b3fa242c 2024-07-28 01:27:46 +09:00
dirkf
ecbd1ec954 Also extract display_id for TwitchClipsIE
Fixes #29666
2021-07-29 13:36:45 +01:00

View File

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