mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-09 12:21:57 -04:00
fix: Wget absolute path generating issues
This commit is contained in:
parent
0158efb1d0
commit
abde871a3c
2 changed files with 2 additions and 2 deletions
|
@ -179,7 +179,7 @@ def wget_output_path(link: Link) -> Optional[str]:
|
|||
if re.search(".+\\.[Ss]?[Hh][Tt][Mm][Ll]?$", str(f), re.I | re.M)
|
||||
]
|
||||
if html_files:
|
||||
return str(html_files[0])
|
||||
return str(html_files[0].relative_to(link.link_dir))
|
||||
|
||||
# Move up one directory level
|
||||
search_dir = search_dir.parent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue