mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-15 15:44:26 -04:00
feat: Use CURL_ARGS in favicon extractor
This commit is contained in:
parent
2e1cdca789
commit
563d0f94ec
4 changed files with 4 additions and 4 deletions
|
@ -47,6 +47,7 @@ def save_archive_dot_org(link: Link, out_dir: Optional[Path]=None, timeout: int=
|
|||
cmd = [
|
||||
CURL_BINARY,
|
||||
*CURL_ARGS,
|
||||
'--head',
|
||||
'--max-time', str(timeout),
|
||||
*(['--user-agent', '{}'.format(CURL_USER_AGENT)] if CURL_USER_AGENT else []),
|
||||
*([] if CHECK_SSL_VALIDITY else ['--insecure']),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue