mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-06-06 01:21:22 -04:00
make should_extract take config and uri as args
This commit is contained in:
parent
518c46b4ab
commit
4634cd6c8e
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue