mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
restrict wget filenames to windows-fs compatible characters
This commit is contained in:
parent
bf6a90f6b3
commit
b69f26297b
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ def fetch_wget(link: Link, link_dir: Optional[str]=None, timeout: int=TIMEOUT) -
|
||||||
'--span-hosts',
|
'--span-hosts',
|
||||||
'--no-parent',
|
'--no-parent',
|
||||||
'-e', 'robots=off',
|
'-e', 'robots=off',
|
||||||
'--restrict-file-names=unix',
|
'--restrict-file-names=windows',
|
||||||
'--timeout={}'.format(timeout),
|
'--timeout={}'.format(timeout),
|
||||||
*([] if FETCH_WARC else ['--timestamping']),
|
*([] if FETCH_WARC else ['--timestamping']),
|
||||||
*(['--warc-file={}'.format(warc_path)] if FETCH_WARC else []),
|
*(['--warc-file={}'.format(warc_path)] if FETCH_WARC else []),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue