return video

This commit is contained in:
bashonly 2025-05-09 17:49:44 +00:00 committed by GitHub
parent c10b0fc110
commit 0b4d2b7d00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3792,7 +3792,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'media_type': (
'livestream' if get_first(video_details, 'isLiveContent')
else 'short' if get_first(microformats, 'isShortsEligible')
else None),
else 'video'),
'release_timestamp': live_start_time,
'_format_sort_fields': ( # source_preference is lower for potentially damaged formats
'quality', 'res', 'fps', 'hdr:12', 'source', 'vcodec', 'channels', 'acodec', 'lang', 'proto'),