A feature-rich command-line audio/video downloader
[downloader] Fix bug for ffmpeg/httpie Caused by: 7f7de7f94dfeacb0eb78cb9487dfcaf5707da381
pukkandan9e631877f801
diff --git a/yt_dlp/downloader/external.py b/yt_dlp/downloader/external.pyindex 0e2bbdb862..440603ea36 100644--- a/yt_dlp/downloader/external.py+++ b/yt_dlp/downloader/external.py@@ -282,8 +282,8 @@ class Aria2cFD(ExternalFD):class HttpieFD(ExternalFD):@classmethod- def available(cls):- return check_executable('http', ['--version'])+ def available(cls, path=None):+ return check_executable(path or 'http', ['--version'])def _make_cmd(self, tmpfilename, info_dict):cmd = ['http', '--download', '--output', tmpfilename, info_dict['url']]@@ -298,7 +298,7 @@ class FFmpegFD(ExternalFD):SUPPORTED_PROTOCOLS = ('http', 'https', 'ftp', 'ftps', 'm3u8', 'rtsp', 'rtmp', 'mms')@classmethod- def available(cls):+ def available(cls, path=None): # path is ignored for ffmpegreturn FFmpegPostProcessor().availabledef _call_downloader(self, tmpfilename, info_dict):