From 917ca13a796479b5cb3baa90b60877e9f0de865d Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Sun, 16 Jun 2024 19:07:19 +0800 Subject: [PATCH] add bypass paywall links for several sites #205 --- app/post/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/post/util.py b/app/post/util.py index 8f30eaea..822c1bc9 100644 --- a/app/post/util.py +++ b/app/post/util.py @@ -86,7 +86,7 @@ def body_has_no_paywall_link(body): def url_has_paywall(url) -> bool: - paywalled_sites = ['washingtonpost.com', 'wapo.st', 'nytimes.com', 'wsj.com', 'economist.com', 'ft.com', 'telegraph.co.uk', + paywalled_sites = ['washingtonpost.com', 'nytimes.com', 'wsj.com', 'economist.com', 'ft.com', 'telegraph.co.uk', 'bild.de', 'theatlantic.com', 'lemonde.fr', 'nzherald.co.nz'] if url: try: