add run to is_whitelisted

master
Aevann 2023-08-07 09:32:05 +03:00
parent 5cf680ebf5
commit 8d7fee009b
1 changed files with 1 additions and 1 deletions

View File

@ -665,7 +665,7 @@ def filter_emojis_only(title, golden=True, count_emojis=False, graceful=False):
def is_whitelisted(domain, k): def is_whitelisted(domain, k):
if 'sort' in k.lower() or 'query' in k.lower(): if 'sort' in k.lower() or 'query' in k.lower():
return True return True
if k in {'_x_tr_hl','_x_tr_pto','_x_tr_sl','_x_tr_tl','after','comments','context','count','f','fbid','format','forum_id','id','lb','list','oldid','p','page','post_id','postid','q','scrollToComments','sp','story_fbid','tab','term','thread_id','threadid','ticket_form_id','time_continue','title','title_no','token','topic','type','u','udca','url','v','vid','viewkey'}: if k in {'_x_tr_hl','_x_tr_pto','_x_tr_sl','_x_tr_tl','after','comments','context','count','f','fbid','format','forum_id','id','lb','list','oldid','p','page','post_id','postid','q','run','scrollToComments','sp','story_fbid','tab','term','thread_id','threadid','ticket_form_id','time_continue','title','title_no','token','topic','type','u','udca','url','v','vid','viewkey'}:
return True return True
if k == 't' and domain != 'twitter.com': if k == 't' and domain != 'twitter.com':
return True return True