From 5c401007d3bf05efd705482aa429fcf59f8aba67 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 8 Mar 2019 17:05:53 -0500 Subject: [PATCH] fix output path --- archivebox/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/util.py b/archivebox/util.py index 0cf9ce0a..556cdd04 100644 --- a/archivebox/util.py +++ b/archivebox/util.py @@ -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