mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 15:14:31 -04:00
escape all non-windows-friendly filenames
This commit is contained in:
parent
403025a73b
commit
4f599c0b0b
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ def fetch_wget(link_dir, link, timeout=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),
|
||||||
*(('--compression=auto',) if WGET_AUTO_COMPRESSION else ()),
|
*(('--compression=auto',) if WGET_AUTO_COMPRESSION else ()),
|
||||||
*(() if FETCH_WARC else ('--timestamping',)),
|
*(() if FETCH_WARC else ('--timestamping',)),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue