feat: Use CURL_ARGS in favicon extractor

This commit is contained in:
Cristian 2020-10-15 08:49:54 -05:00 committed by Cristian Vargas
parent 2e1cdca789
commit 563d0f94ec
4 changed files with 4 additions and 4 deletions

View file

@ -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']),