1
0
Fork 0
mirror of synced 2024-09-28 15:21:32 +12:00

escape all non-windows-friendly filenames

This commit is contained in:
Nick Sweeting 2019-04-10 22:46:20 -04:00 committed by GitHub
parent 403025a73b
commit 4f599c0b0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -226,7 +226,7 @@ def fetch_wget(link_dir, link, timeout=TIMEOUT):
'--span-hosts',
'--no-parent',
'-e', 'robots=off',
'--restrict-file-names=unix',
'--restrict-file-names=windows',
'--timeout={}'.format(timeout),
*(('--compression=auto',) if WGET_AUTO_COMPRESSION else ()),
*(() if FETCH_WARC else ('--timestamping',)),