mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-31 06:48:25 -04:00
fix imports and deps
This commit is contained in:
parent
6b83b4c995
commit
0acd388c02
7 changed files with 614 additions and 695 deletions
|
@ -449,6 +449,8 @@ class Snapshot(ModelWithOutputDir, ModelWithStateMachine, ABIDModel):
|
|||
for extractor in EXTRACTORS:
|
||||
if not extractor:
|
||||
continue
|
||||
if ArchiveResult.objects.filter(snapshot=self, extractor=extractor).exists():
|
||||
continue
|
||||
archiveresult, created = ArchiveResult.objects.get_or_create(
|
||||
snapshot=self,
|
||||
extractor=extractor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue