1
0
Fork 0
mirror of synced 2024-06-17 18:04:33 +12:00

0504202002

This commit is contained in:
comsomisha 2020-04-05 18:35:13 +03:00 committed by GitHub
parent 18f0f66f1e
commit bb580533f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,