mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-28 19:45:52 +00:00
return video
This commit is contained in:
parent
c10b0fc110
commit
0b4d2b7d00
@ -3792,7 +3792,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||||||
'media_type': (
|
'media_type': (
|
||||||
'livestream' if get_first(video_details, 'isLiveContent')
|
'livestream' if get_first(video_details, 'isLiveContent')
|
||||||
else 'short' if get_first(microformats, 'isShortsEligible')
|
else 'short' if get_first(microformats, 'isShortsEligible')
|
||||||
else None),
|
else 'video'),
|
||||||
'release_timestamp': live_start_time,
|
'release_timestamp': live_start_time,
|
||||||
'_format_sort_fields': ( # source_preference is lower for potentially damaged formats
|
'_format_sort_fields': ( # source_preference is lower for potentially damaged formats
|
||||||
'quality', 'res', 'fps', 'hdr:12', 'source', 'vcodec', 'channels', 'acodec', 'lang', 'proto'),
|
'quality', 'res', 'fps', 'hdr:12', 'source', 'vcodec', 'channels', 'acodec', 'lang', 'proto'),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user