diff --git a/archivebox/util.py b/archivebox/util.py index 556cdd04..facfc4a0 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(ARCHIVE_DIR, link['timestamp'], *wget_folder, html_files[0])) + return urlencode(os.path.join('archive', link['timestamp'], *wget_folder, html_files[0])) return None