mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
add bypass paywall links for several sites #205
This commit is contained in:
parent
811c9eb5f3
commit
917ca13a79
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue