fix: wget_output_path failing on some extractors. Add a new condition
This commit is contained in:
parent
31e6fae7c3
commit
e9e4adfc34
|
@ -180,5 +180,9 @@ def wget_output_path(link: Link) -> Optional[str]:
|
|||
|
||||
if str(search_dir) == link.link_dir:
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue