1
0
Fork 0
mirror of synced 2024-06-24 17:10:21 +12:00

fix output path

This commit is contained in:
Nick Sweeting 2019-03-08 17:05:53 -05:00
parent 83a96bb823
commit 5c401007d3

View file

@ -271,7 +271,7 @@ def wget_output_path(link, look_in=None):
if re.search(".+\\.[Hh][Tt][Mm][Ll]?$", f, re.I | re.M)
]
if html_files:
return urlencode(os.path.join(*wget_folder, html_files[0]))
return urlencode(os.path.join(ARCHIVE_DIR, link['timestamp'], *wget_folder, html_files[0]))
return None