From c2aaa41c7660fe7424f2c3c64fb50507d7109864 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 30 Jan 2021 01:25:08 -0500 Subject: [PATCH] fix missing str path --- archivebox/extractors/wget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/extractors/wget.py b/archivebox/extractors/wget.py index 04886575..33529e4c 100644 --- a/archivebox/extractors/wget.py +++ b/archivebox/extractors/wget.py @@ -182,7 +182,7 @@ def wget_output_path(link: Link) -> Optional[str]: last_part_of_url = urldecode(full_path.rsplit('/', 1)[-1]) for file_present in search_dir.iterdir(): if file_present == last_part_of_url: - return search_dir / file_present + return str(search_dir / file_present) # Move up one directory level search_dir = search_dir.parent