Skip to content

Commit

Permalink
include more output file locations when considering whether snapshot.…
Browse files Browse the repository at this point in the history
…is_archived
  • Loading branch information
pirate committed Jan 19, 2024
1 parent 0a25495 commit 1773146
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions archivebox/index/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,15 @@ def is_archived(self) -> bool:

output_paths = (
domain(self.url),
'output.html',
'output.pdf',
'screenshot.png',
'output.html',
'singlefile.html',
'readability/content.html',
'mercury/content.html',
'htmltotext.txt',
'media',
'singlefile.html'
'git',
)

return any(
Expand Down

0 comments on commit 1773146

Please sign in to comment.