Browse Source

make should_extract take config and uri as args

Nick Sweeting 1 year ago
parent
commit
4634cd6c8e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      archivebox/abx/archivebox/base_extractor.py

+ 1 - 1
archivebox/abx/archivebox/base_extractor.py

@@ -53,7 +53,7 @@ class BaseExtractor(BaseHook):
     def get_output_path(self, snapshot) -> Path:
     def get_output_path(self, snapshot) -> Path:
         return Path(self.id.lower())
         return Path(self.id.lower())
 
 
-    def should_extract(self, snapshot) -> bool:
+    def should_extract(self, uri: str, config: dict | None=None) -> bool:
         try:
         try:
             assert self.detect_installed_binary().version
             assert self.detect_installed_binary().version
         except Exception:
         except Exception: