Skip to content

Commit

Permalink
New link shortener: adyou.co
Browse files Browse the repository at this point in the history
  • Loading branch information
Glorfindel83 committed Aug 1, 2017
1 parent a07e7c4 commit 4e7b7ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions findspam.py
Expand Up @@ -850,14 +850,14 @@ class FindSpam:
# Shortened URL near the end of question
{'regex': r"(?is)://(goo\.gl|bit\.ly|bit\.do|tinyurl\.com|fb\.me|cl\.ly|t\.co|is\.gd|j\.mp|tr\.im|ow\.ly|"
r"wp\.me|alturl\.com|tiny\.cc|9nl\.me|post\.ly|dyo\.gs|bfy\.tw|amzn\.to|adf\.ly|adfoc\.us|"
r"surl\.cn\.com|clkmein\.com|bluenik\.com|rurl\.us)/.{0,200}$", 'all': True,
r"surl\.cn\.com|clkmein\.com|bluenik\.com|rurl\.us|adyou\.co)/.{0,200}$", 'all': True,
'sites': ["superuser.com", "askubuntu.com"], 'reason': "shortened URL in {}", 'title': False, 'body': True,
'username': False, 'stripcodeblocks': True, 'body_summary': False, 'answers': False, 'max_rep': 1,
'max_score': 0},
# Shortened URL in an answer
{'regex': r"(?is)://(goo\.gl|bit\.ly|bit\.do|tinyurl\.com|fb\.me|cl\.ly|t\.co|is\.gd|j\.mp|tr\.im|ow\.ly|"
r"wp\.me|alturl\.com|tiny\.cc|9nl\.me|post\.ly|dyo\.gs|bfy\.tw|amzn\.to|adf\.ly|adfoc\.us|"
r"surl\.cn\.com|clkmein\.com|bluenik\.com|rurl\.us)/",
r"surl\.cn\.com|clkmein\.com|bluenik\.com|rurl\.us|adyou\.co)/",
'all': True, 'sites': ["codegolf.stackexchange.com"], 'reason': "shortened URL in {}", 'title': False,
'body': True, 'username': False, 'stripcodeblocks': True, 'body_summary': False, 'questions': False,
'max_rep': 1, 'max_score': 0},
Expand Down

0 comments on commit 4e7b7ee

Please sign in to comment.