1
0
Fork 0

Update archivebox/extractors/readability.py

This commit is contained in:
Nick Sweeting 2020-08-14 12:55:22 -04:00 committed by GitHub
parent 050b717bb9
commit 03b73bfe77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ def get_html(link: Link, path: Path) -> str:
""" """
canonical = link.canonical_outputs() canonical = link.canonical_outputs()
abs_path = path.absolute() abs_path = path.absolute()
sources = [canonical["wget_path"], canonical["singlefile_path"], canonical["dom_path"]] sources = [canonical["singlefile_path"], canonical["wget_path"], canonical["dom_path"]]
document = None document = None
for source in sources: for source in sources:
try: try: