]> jfr.im git - yt-dlp.git/commitdiff
[fd/aria2c] Remove duplicate `--file-allocation=none` (#8332)
authorCrendKing <redacted>
Tue, 7 Nov 2023 16:18:19 +0000 (08:18 -0800)
committerGitHub <redacted>
Tue, 7 Nov 2023 16:18:19 +0000 (17:18 +0100)
Authored by: CrendKing

yt_dlp/downloader/external.py

index 4ce8a3bf7d7772e6801b4f4eb08c43d7d86b9bd6..ce5eeb0a9a27aa1c643dd4d27fbede2002d0b3c9 100644 (file)
@@ -335,7 +335,7 @@ def _make_cmd(self, tmpfilename, info_dict):
         cmd += ['--auto-file-renaming=false']
 
         if 'fragments' in info_dict:
         cmd += ['--auto-file-renaming=false']
 
         if 'fragments' in info_dict:
-            cmd += ['--file-allocation=none', '--uri-selector=inorder']
+            cmd += ['--uri-selector=inorder']
             url_list_file = '%s.frag.urls' % tmpfilename
             url_list = []
             for frag_index, fragment in enumerate(info_dict['fragments']):
             url_list_file = '%s.frag.urls' % tmpfilename
             url_list = []
             for frag_index, fragment in enumerate(info_dict['fragments']):