diff options
-rwxr-xr-x | urlgrabber-ext-down-yfd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urlgrabber-ext-down-yfd b/urlgrabber-ext-down-yfd index 9aa93b1..1760653 100755 --- a/urlgrabber-ext-down-yfd +++ b/urlgrabber-ext-down-yfd @@ -54,7 +54,7 @@ def _getAria2CArgs(urls, remote_path, local_path, proxies = None): return args; def downloadFile(urls, remote_path, local_path, proxies = None): - if urls[0].startswith("http://") or urls[0].startswith("ftp://"): + if not urls[0].startswith("file:"): args = _getAria2CArgs(urls, remote_path, local_path) popen = subprocess.Popen(args, stdout=2) popen.wait() |