]> jfr.im git - yt-dlp.git/commitdiff
Fix bug in 56ba69e4c991e81a449882258be08d0b6b98c648
authorpukkandan <redacted>
Mon, 13 Jun 2022 13:46:06 +0000 (19:16 +0530)
committerpukkandan <redacted>
Mon, 13 Jun 2022 13:46:06 +0000 (19:16 +0530)
yt_dlp/YoutubeDL.py

index b8c250d736668da5d18bc67e7b271f9e02423e42..7ba6441e1ef569a656e9c38133b3ef9257e79eac 100644 (file)
@@ -3060,7 +3060,7 @@ def existing_video_file(*filepaths):
 
                 success = True
                 merger, fd = FFmpegMergerPP(self), None
-                if info_dict.get('url'):
+                if info_dict.get('protocol') or info_dict.get('url'):
                     fd = get_suitable_downloader(info_dict, self.params, to_stdout=temp_filename == '-')
                     if fd is not FFmpegFD and (
                             info_dict.get('section_start') or info_dict.get('section_end')):