new patterns
This commit is contained in:
parent
1941d68b63
commit
b21be90e88
1 changed files with 5 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class AntiSpam(object):
|
|||
resume = contact.get_resume()
|
||||
|
||||
# Check if there is an email address in the offer.
|
||||
if re.match('[\w\d\.-_]+@[\w\d\.]+ vous offre la possibilit', resume):
|
||||
if re.match('[\w\d\.\-_]+@[\w\d\.]+ vous offre la possibilit', resume):
|
||||
return False
|
||||
if contact.get_name() == 'Ekaterina':
|
||||
return False
|
||||
|
|
@ -55,12 +55,16 @@ class AntiSpam(object):
|
|||
return False
|
||||
if profile.description.find('plan cam sexy') >= 0:
|
||||
return False
|
||||
if profile.description.find('show sex') >= 0:
|
||||
return False
|
||||
if profile.description.find('un mec tres chaude') >= 0:
|
||||
return False
|
||||
if profile.description.find('bale chatt') >= 0:
|
||||
return False
|
||||
if profile.description.find('cc moi ') >= 0:
|
||||
return False
|
||||
if profile.description.find('une fille tres chaud') >= 0:
|
||||
return False
|
||||
# Her 'Shopping-list' begins with 'hummm'
|
||||
if profile.description.find(':\nhummm') >= 0:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue