forked from rDrama/rDrama
fix for old versions of reddit api
parent
6b0110d672
commit
1a6df0086c
|
@ -42,7 +42,7 @@ def get_mentions(cache, queries, reddit_notifs_users=False):
|
||||||
if not thing.get('permalink'):
|
if not thing.get('permalink'):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if thing['subreddit_subscribers'] < 2: continue
|
if thing.get('subreddit_subscribers') and thing['subreddit_subscribers'] < 2: continue
|
||||||
if thing['subreddit'] in {'IAmA', 'PokemonGoRaids', 'SubSimulatorGPT2', 'SubSimGPT2Interactive'}: continue
|
if thing['subreddit'] in {'IAmA', 'PokemonGoRaids', 'SubSimulatorGPT2', 'SubSimGPT2Interactive'}: continue
|
||||||
if 'bot' in thing['author'].lower(): continue
|
if 'bot' in thing['author'].lower(): continue
|
||||||
if 'AutoModerator' == thing['author']: continue
|
if 'AutoModerator' == thing['author']: continue
|
||||||
|
|
Loading…
Reference in New Issue