mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-15 07:34:27 -04:00
Flip dedupe precedence order
This commit is contained in:
parent
4d9c5a7b4b
commit
d74ddd42ae
8 changed files with 33 additions and 40 deletions
|
@ -104,13 +104,13 @@ def save_title(link: Link, out_dir: Optional[Path]=None, timeout: int=TIMEOUT) -
|
|||
from core.models import Snapshot
|
||||
|
||||
output: ArchiveOutput = None
|
||||
# earlier options take precedence
|
||||
# later options take precedence
|
||||
options = [
|
||||
*CURL_ARGS,
|
||||
*CURL_EXTRA_ARGS,
|
||||
'--max-time', str(timeout),
|
||||
*(['--user-agent', '{}'.format(CURL_USER_AGENT)] if CURL_USER_AGENT else []),
|
||||
*([] if CHECK_SSL_VALIDITY else ['--insecure']),
|
||||
*CURL_EXTRA_ARGS,
|
||||
*CURL_ARGS,
|
||||
]
|
||||
cmd = [
|
||||
CURL_BINARY,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue