try to use readability.js

workspace
Brendan Howell 3 years ago
parent b2e53f6967
commit 1e8211b9f4

@ -232,7 +232,7 @@ class Publications(Bureau):
footnote.append(lxml.html.fromstring(svg))
html.append(footnote)
self.print_full("article.html", title=doc.title(),
self.print_full("article.html", title=doc["title"],
article=lxml.html.tostring(html).decode("utf-8"),
url=url, date=timestamp)

Loading…
Cancel
Save