Skip to content

Commit

Permalink
Add Medium username regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed May 9, 2018
1 parent daa20a6 commit 253bf9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions findspam.py
Expand Up @@ -1354,6 +1354,9 @@ class FindSpam:
{'regex': u'(?i)^john$', 'all': False, 'sites': ['hinduism.stackexchange.com'],
'reason': 'blacklisted username', 'title': False, 'body': False, 'username': True,
'stripcodeblocks': False, 'body_summary': False, 'max_rep': 1, 'max_score': 0},
{'regex': u'(?i)(?:(?:\d{3}|_\d{5})$|juri(?:[yr]?am?)?|(?:bond|max|vaxer|jems|tz?osan)$)', 'all': False,
'sites': [], 'reason': 'blacklisted username (medium)', 'title': False, 'body': False, 'username': True,
'stripcodeblocks': False, 'body_summary': False, 'max_rep': 1, 'max_score': 0},

# User name similar to link
{'method': username_similar_website, 'all': True, 'sites': [], 'reason': "username similar to website in {}",
Expand Down

0 comments on commit 253bf9c

Please sign in to comment.