From a3a048d43e3fbb4cab15a945406152aa6c9ddf43 Mon Sep 17 00:00:00 2001 From: misha Date: Thu, 16 Apr 2020 14:48:23 +0300 Subject: [PATCH] 16042020 --- archivebox/archive_methods.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/archivebox/archive_methods.py b/archivebox/archive_methods.py index 6fd08d0e..de46f60c 100644 --- a/archivebox/archive_methods.py +++ b/archivebox/archive_methods.py @@ -496,7 +496,6 @@ def fetch_media(link_dir, link, timeout=MEDIA_TIMEOUT): '--write-thumbnail', '--no-call-home', '--no-check-certificate', - '--user-agent', '--all-subs', '--extract-audio', '--keep-video', @@ -563,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,