Aevann 2024-11-11 21:09:49 +02:00
parent ead3d96ddb
commit d4b34ce5ad
1 changed files with 3 additions and 0 deletions

View File

@ -731,6 +731,9 @@ def is_whitelisted(domain, k):
if domain not in {'youtube.com','reddit.com','x.com','msn.com','wsj.com','tiktok.com','forbes.com','dailymail.co.uk','facebook.com','spotify.com','nytimes.com','businessinsider.com','instagram.com','yahoo.com','thedailybeast.com','nypost.com','newsweek.com','bloomberg.com','quora.com','nbcnews.com','reuters.com','tmz.com','cnbc.com','marketwatch.com','thetimes.co.uk','sfchronicle.com','washingtonpost.com','cbsnews.com','foxnews.com','bbc.com','bbc.co.uk','ifunny.co','independent.co.uk','wikipedia.org','substack.com','google.com'}:
return True
if domain == 'nytimes.com' and k == 'unlocked_article_code':
return True
if domain == 'wikipedia.org' and k != 'wprov':
return True