add more boosted sites

master
Aevann1 2022-10-30 00:49:53 +02:00
parent 77dc8a990c
commit 21aff0976b
1 changed files with 13 additions and 0 deletions

View File

@ -140,6 +140,9 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
target.realupvotes = get_vote_count(0, True) # first arg is ignored here target.realupvotes = get_vote_count(0, True) # first arg is ignored here
boost_sites = { boost_sites = {
'rdrama.net',
'pcmemes.net',
'watchpeopledie.tv',
'quora.com', 'quora.com',
'cumtown.org', 'cumtown.org',
'notabug.io', 'notabug.io',
@ -169,6 +172,16 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
'poa.st', 'poa.st',
'lbry.com', 'lbry.com',
'crystal.cafe', 'crystal.cafe',
'tribel.com',
'mstdn.social',
'mastodon.online',
'steemit.com',
'hexbear.net',
'raddle.me',
'lemmy.ml',
'bluelight.org',
'incels.is',
'groups.google.com',
} }
if target.author.progressivestack or (cls == Submission and (target.sub in ('space', 'istory', 'dinos') or target.domain.endswith('.win') or target.domain in boost_sites)): if target.author.progressivestack or (cls == Submission and (target.sub in ('space', 'istory', 'dinos') or target.domain.endswith('.win') or target.domain in boost_sites)):