mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -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
|
@ -43,6 +43,7 @@ def save_headers(link: Link, out_dir: Optional[str]=None, timeout: int=TIMEOUT)
|
|||
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