forked from rDrama/rDrama
this is retarded
parent
93dc0e2cc8
commit
abe07e7754
|
@ -469,7 +469,6 @@ MAX_VIDEO_SIZE_MB_PATRON = 64
|
|||
MAX_IMAGE_CONVERSION_TIMEOUT = 15 # seconds
|
||||
|
||||
ANTISPAM_BYPASS_IDS = set()
|
||||
BOOSTED_USERS_EXCLUDED = set()
|
||||
|
||||
PAGE_SIZE = 25
|
||||
LEADERBOARD_LIMIT = PAGE_SIZE
|
||||
|
@ -565,13 +564,7 @@ if SITE == 'rdrama.net':
|
|||
2008, #TransGirlTradWife
|
||||
29, #QuadNarca
|
||||
JOAN_ID,
|
||||
}
|
||||
|
||||
BOOSTED_USERS_EXCLUDED = {
|
||||
8768,
|
||||
3402,
|
||||
5214,
|
||||
12719
|
||||
4389, #WorldAroundEwe
|
||||
}
|
||||
|
||||
GIFT_NOTIF_ID = CARP_ID
|
||||
|
|
|
@ -152,7 +152,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
elif cls == Submission:
|
||||
if target.domain.endswith('.win') or (target.domain in BOOSTED_SITES and not target.url.startswith('/')) or target.sub in BOOSTED_HOLES:
|
||||
mul = 2
|
||||
elif not target.sub and target.body_html and target.author.id not in BOOSTED_USERS_EXCLUDED:
|
||||
elif not target.sub and target.body_html and target.author.id not in {8768,3402,5214,12719}:
|
||||
x = target.body_html.count('" target="_blank" rel="nofollow noopener">')
|
||||
x += target.body_html.count('<a href="/images/')
|
||||
target.realupvotes += min(x*2, 20)
|
||||
|
|
Loading…
Reference in New Issue