From bb580533f715a1b40f8534f81ba99591b3f24821 Mon Sep 17 00:00:00 2001 From: comsomisha Date: Sun, 5 Apr 2020 18:35:13 +0300 Subject: [PATCH] 0504202002 --- archivebox/archive_methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/archive_methods.py b/archivebox/archive_methods.py index 75e7be0d..1ff03027 100644 --- a/archivebox/archive_methods.py +++ b/archivebox/archive_methods.py @@ -562,7 +562,7 @@ def archive_dot_org(link_dir, link, timeout=TIMEOUT): CURL_BINARY, '--location', '--head', - *(('--user-agent', '{}'.format(CURL_USER_AGENT),) if CURL_USER_AGENT else ()), # be nice to the Archive.org people and show them where all this ArchiveBox traffic is coming from + *(('--user-agent', '{}'.format(CURL_USER_AGENT),) if CURL_USER_AGENT else ()), # be nice to the Archive.org people and show them where all this ArchiveBox traffic is coming from '--max-time', str(timeout), *(() if CHECK_SSL_VALIDITY else ('--insecure',)), submit_url,