From 4634cd6c8e47738087fae548e90a2160afdabaab Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 14 Oct 2024 15:35:20 -0700 Subject: [PATCH] make should_extract take config and uri as args --- archivebox/abx/archivebox/base_extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/abx/archivebox/base_extractor.py b/archivebox/abx/archivebox/base_extractor.py index 7391f106..c9d81501 100644 --- a/archivebox/abx/archivebox/base_extractor.py +++ b/archivebox/abx/archivebox/base_extractor.py @@ -53,7 +53,7 @@ class BaseExtractor(BaseHook): def get_output_path(self, snapshot) -> Path: return Path(self.id.lower()) - def should_extract(self, snapshot) -> bool: + def should_extract(self, uri: str, config: dict | None=None) -> bool: try: assert self.detect_installed_binary().version except Exception: