From 357b677363a0ff0692d073c7d3e7d88fc5f932bb Mon Sep 17 00:00:00 2001 From: ttimasdf Date: Tue, 22 Sep 2020 16:55:14 +0800 Subject: [PATCH] fix: add mercury-parser to extractors list --- archivebox/extractors/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archivebox/extractors/__init__.py b/archivebox/extractors/__init__.py index 3399928e..815be551 100644 --- a/archivebox/extractors/__init__.py +++ b/archivebox/extractors/__init__.py @@ -28,6 +28,7 @@ from .favicon import should_save_favicon, save_favicon from .wget import should_save_wget, save_wget from .singlefile import should_save_singlefile, save_singlefile from .readability import should_save_readability, save_readability +from .mercury import should_save_mercury, save_mercury from .pdf import should_save_pdf, save_pdf from .screenshot import should_save_screenshot, save_screenshot from .dom import should_save_dom, save_dom @@ -45,6 +46,7 @@ def get_default_archive_methods(): ('screenshot', should_save_screenshot, save_screenshot), ('dom', should_save_dom, save_dom), ('readability', should_save_readability, save_readability), #keep readability below wget and singlefile, as it depends on them + ('mercury', should_save_mercury, save_mercury), ('git', should_save_git, save_git), ('media', should_save_media, save_media), ('archive_org', should_save_archive_dot_org, save_archive_dot_org),