mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-19 12:51:49 +02:00
fix: wget_output_path failing on some extractors. Add a new condition
This commit is contained in:
@@ -181,4 +181,8 @@ def wget_output_path(link: Link) -> Optional[str]:
|
|||||||
if str(search_dir) == link.link_dir:
|
if str(search_dir) == link.link_dir:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
search_dir = Path(link.link_dir) / domain(link.url).replace(":", "+") / urldecode(full_path)
|
||||||
|
if not search_dir.is_dir():
|
||||||
|
return str(search_dir.relative_to(link.link_dir))
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
Reference in New Issue
Block a user