do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4850444#context
parent
ed30144194
commit
af7fc01ff2
|
@ -24,11 +24,10 @@ BOOSTED_SITES = {
|
|||
'blacktwitterapp.com',
|
||||
'trp.red',
|
||||
##fediverse
|
||||
#'all sites with the word "mastodon" in the domain',
|
||||
'kiwifarms.cc',
|
||||
'freespeechextremist.com'
|
||||
'mstdn.social',
|
||||
'mastodon.social',
|
||||
'mastodon.online',
|
||||
'poa.st',
|
||||
'shitposter.club',
|
||||
'sneed.social',
|
||||
|
@ -80,7 +79,7 @@ BOOSTED_SITES = {
|
|||
|
||||
#nested-comments
|
||||
#'all sites with .win TLD',
|
||||
#'all sites with the word 'lemmy' in the domain',
|
||||
#'all sites with the word "lemmy" in the domain',
|
||||
'rdrama.net',
|
||||
'funnyjunk.com',
|
||||
'news.ycombinator.com',
|
||||
|
|
|
@ -131,7 +131,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
mul = 2
|
||||
elif SITE == 'rdrama.net' and cls == Post:
|
||||
if (target.domain.endswith('.win')
|
||||
or 'forum' in target.domain or 'chan' in target.domain or 'lemmy' in target.domain
|
||||
or 'forum' in target.domain or 'chan' in target.domain or 'lemmy' in target.domain or 'mastodon' in target.domain
|
||||
or (target.domain in BOOSTED_SITES and not target.url.startswith('/'))):
|
||||
mul = 2
|
||||
elif target.sub in STEALTH_HOLES or target.sub in {'countryclub', 'highrollerclub'}:
|
||||
|
|
Loading…
Reference in New Issue