mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-05 15:27:53 +10:00
fix: Fix mercury extractor test
This commit is contained in:
@@ -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(Path(search_dir.name) / html_files[0])
|
||||
return str(html_files[0])
|
||||
|
||||
# Move up one directory level
|
||||
search_dir = search_dir.parent
|
||||
|
||||
Reference in New Issue
Block a user