mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-18 09:04:26 -04:00
fix: Wget issue when calculating output path
This commit is contained in:
parent
891dd3b8a9
commit
ab311d86e1
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ def wget_output_path(snapshot: Model) -> Optional[str]:
|
||||||
# Move up one directory level
|
# Move up one directory level
|
||||||
search_dir = search_dir.parent
|
search_dir = search_dir.parent
|
||||||
|
|
||||||
if str(search_dir) == snapshot.snapshot_dir:
|
if search_dir == snapshot.snapshot_dir:
|
||||||
break
|
break
|
||||||
|
|
||||||
search_dir = Path(snapshot.snapshot_dir) / domain(snapshot.url).replace(":", "+") / urldecode(full_path)
|
search_dir = Path(snapshot.snapshot_dir) / domain(snapshot.url).replace(":", "+") / urldecode(full_path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue