From 2bf496e7e92c26939d886f4f4c0747bd9ba97b56 Mon Sep 17 00:00:00 2001 From: ttimasdf Date: Tue, 22 Sep 2020 17:22:02 +0800 Subject: [PATCH] feat: Add mercury-parsed content to summary page --- archivebox/index/schema.py | 2 ++ archivebox/themes/legacy/link_details.html | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/archivebox/index/schema.py b/archivebox/index/schema.py index d6ab601f..7508890d 100644 --- a/archivebox/index/schema.py +++ b/archivebox/index/schema.py @@ -408,6 +408,7 @@ class Link: 'warc_path': 'warc', 'singlefile_path': 'singlefile.html', 'readability_path': 'readability/content.html', + 'mercury_path': 'mercury/content.html', 'pdf_path': 'output.pdf', 'screenshot_path': 'screenshot.png', 'dom_path': 'output.html', @@ -429,6 +430,7 @@ class Link: 'dom_path': static_path, 'singlefile_path': static_path, 'readability_path': static_path, + 'mercury_path': static_path, }) return canonical diff --git a/archivebox/themes/legacy/link_details.html b/archivebox/themes/legacy/link_details.html index cd7252ac..efb7274b 100644 --- a/archivebox/themes/legacy/link_details.html +++ b/archivebox/themes/legacy/link_details.html @@ -413,6 +413,19 @@ +
+
+
+ +
+ + + +

mercury

+

archive/mercury/...

+
+
+