aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2023-01-03 17:25:56 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2023-01-03 17:25:56 +0530
commitad68b16a1e82d0b22b619cea128d52f7d5d2b330 (patch)
treeece757be885bff276d9dbe58d9410b776fce3548
parentf079514957401f49db30ec4cd25f8c8246b0c1de (diff)
downloadhypervideo-pre-ad68b16a1e82d0b22b619cea128d52f7d5d2b330.tar.lz
hypervideo-pre-ad68b16a1e82d0b22b619cea128d52f7d5d2b330.tar.xz
hypervideo-pre-ad68b16a1e82d0b22b619cea128d52f7d5d2b330.zip
[downloader/aria2c] Disable native progress
Closes #5931, closes #5928, Re-opens #2038
-rw-r--r--README.md2
-rw-r--r--yt_dlp/downloader/external.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 927a52636..e84c9599d 100644
--- a/README.md
+++ b/README.md
@@ -153,7 +153,7 @@ Some of yt-dlp's default options are different from that of youtube-dl and youtu
* When `--embed-subs` and `--write-subs` are used together, the subtitles are written to disk and also embedded in the media file. You can use just `--embed-subs` to embed the subs and automatically delete the separate file. See [#630 (comment)](https://github.com/yt-dlp/yt-dlp/issues/630#issuecomment-893659460) for more info. `--compat-options no-keep-subs` can be used to revert this
* `certifi` will be used for SSL root certificates, if installed. If you want to use system certificates (e.g. self-signed), use `--compat-options no-certifi`
* yt-dlp's sanitization of invalid characters in filenames is different/smarter than in youtube-dl. You can use `--compat-options filename-sanitization` to revert to youtube-dl's behavior
-* yt-dlp tries to parse the external downloader outputs into the standard progress output if possible (Currently implemented: `aria2c`). You can use `--compat-options no-external-downloader-progress` to get the downloader output as-is
+* yt-dlp tries to parse the external downloader outputs into the standard progress output if possible (Currently implemented: [~~aria2c~~](https://github.com/yt-dlp/yt-dlp/issues/5931)). You can use `--compat-options no-external-downloader-progress` to get the downloader output as-is
For ease of use, a few more compat options are available:
diff --git a/yt_dlp/downloader/external.py b/yt_dlp/downloader/external.py
index 569839f6f..3917af448 100644
--- a/yt_dlp/downloader/external.py
+++ b/yt_dlp/downloader/external.py
@@ -262,7 +262,8 @@ class Aria2cFD(ExternalFD):
return fn if os.path.isabs(fn) else f'.{os.path.sep}{fn}'
def _call_downloader(self, tmpfilename, info_dict):
- if 'no-external-downloader-progress' not in self.params.get('compat_opts', []):
+ # FIXME: Disabled due to https://github.com/yt-dlp/yt-dlp/issues/5931
+ if False and 'no-external-downloader-progress' not in self.params.get('compat_opts', []):
info_dict['__rpc'] = {
'port': find_available_port() or 19190,
'secret': str(uuid.uuid4()),