mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -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:
|
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']
|
'bild.de', 'theatlantic.com', 'lemonde.fr', 'nzherald.co.nz']
|
||||||
if url:
|
if url:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue