瀏覽代碼

include more output file locations when considering whether snapshot.is_archived

Nick Sweeting 1 年之前
父節點
當前提交
1773146833
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      archivebox/index/schema.py

+ 6 - 2
archivebox/index/schema.py

@@ -379,11 +379,15 @@ class Link:
 
         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(