From 0b4d2b7d003059856b9726472ed4f715990efb7e Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Fri, 9 May 2025 17:49:44 +0000 Subject: [PATCH] return `video` --- yt_dlp/extractor/youtube/_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/youtube/_video.py b/yt_dlp/extractor/youtube/_video.py index 017f4528c2..b1fc4188b7 100644 --- a/yt_dlp/extractor/youtube/_video.py +++ b/yt_dlp/extractor/youtube/_video.py @@ -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'),