mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-15 23:54:27 -04:00
16042020
This commit is contained in:
parent
1aa2a5b069
commit
a3a048d43e
1 changed files with 1 additions and 2 deletions
|
@ -496,7 +496,6 @@ def fetch_media(link_dir, link, timeout=MEDIA_TIMEOUT):
|
||||||
'--write-thumbnail',
|
'--write-thumbnail',
|
||||||
'--no-call-home',
|
'--no-call-home',
|
||||||
'--no-check-certificate',
|
'--no-check-certificate',
|
||||||
'--user-agent',
|
|
||||||
'--all-subs',
|
'--all-subs',
|
||||||
'--extract-audio',
|
'--extract-audio',
|
||||||
'--keep-video',
|
'--keep-video',
|
||||||
|
@ -563,7 +562,7 @@ def archive_dot_org(link_dir, link, timeout=TIMEOUT):
|
||||||
CURL_BINARY,
|
CURL_BINARY,
|
||||||
'--location',
|
'--location',
|
||||||
'--head',
|
'--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),
|
'--max-time', str(timeout),
|
||||||
*(() if CHECK_SSL_VALIDITY else ('--insecure',)),
|
*(() if CHECK_SSL_VALIDITY else ('--insecure',)),
|
||||||
submit_url,
|
submit_url,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue