forked from rDrama/rDrama
1
0
Fork 0
Aevann 2024-05-24 06:42:13 +03:00
parent 2e3f478bbf
commit 1a1462bab2
1 changed files with 3 additions and 0 deletions

View File

@ -710,6 +710,9 @@ def is_whitelisted(domain, k):
if domain not in {'youtube.com','reddit.com','twitter.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'}:
return True
if domain == 'wikipedia.org' and k != 'wprov':
return True
if 'sort' in k.lower() or 'query' in k.lower():
return True