fixup! [ie/gotowebinar] Add extractor

This commit is contained in:
Gregor Düster 2025-01-18 18:31:56 +01:00
parent 4fc4cc2669
commit c20442b560
No known key found for this signature in database
GPG Key ID: 1B4181FC97673B9D

View File

@ -12,7 +12,7 @@ class GoTo_WebinarIE(InfoExtractor):
'id': '8573274081823101697-1166504161772360449',
'title': 'Topology and Cache Coherence in Knights Landing and Skylake Xeon Processors',
'description': 'md5:2d673910d31bfb4918a0605ea60561dd',
'creators': 'IXPUG Committee',
'creators': ['IXPUG Committee'],
'ext': 'mp4',
},
},
@ -44,6 +44,8 @@ def _real_extract(self, url):
errnote='Unable to non-important download recording metadata',
fatal=False)
creator = non_important_metadata.get('organizerName')
return {
'id': video_id,
'url': important_metadata.get('cdnLocation'),
@ -51,5 +53,5 @@ def _real_extract(self, url):
'is_live': False,
'title': non_important_metadata.get('subject'),
'description': non_important_metadata.get('description'),
'creators': non_important_metadata.get('organizerName'),
'creators': [creator] if creator else None,
}