From af7e8df0eb534937524dc9723a416735b6644a72 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 27 Feb 2019 04:48:38 -0500 Subject: [PATCH] rename download url func --- archivebox/archive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archivebox/archive.py b/archivebox/archive.py index 5aacc003..9ebe1e88 100755 --- a/archivebox/archive.py +++ b/archivebox/archive.py @@ -27,7 +27,7 @@ from config import ( ) from util import ( check_dependencies, - download_url, + save_remote_source, save_stdin_source, pretty_path, migrate_data, @@ -202,7 +202,7 @@ if __name__ == '__main__': # Step 0: Download url to local file (only happens if a URL is specified instead of local path) if source and any(source.startswith(s) for s in ('http://', 'https://', 'ftp://')): - source = download_url(source) + source = save_remote_source(source) elif stdin_raw_text: source = save_stdin_source(stdin_raw_text)