new patterns
This commit is contained in:
parent
b21be90e88
commit
709afc72f6
1 changed files with 3 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 pos', resume):
|
||||
return False
|
||||
if contact.get_name() == 'Ekaterina':
|
||||
return False
|
||||
|
|
@ -61,6 +61,8 @@ class AntiSpam(object):
|
|||
return False
|
||||
if profile.description.find('bale chatt') >= 0:
|
||||
return False
|
||||
if profile.description.find('slt tt les mec chaud') >= 0:
|
||||
return False
|
||||
if profile.description.find('cc moi ') >= 0:
|
||||
return False
|
||||
if profile.description.find('une fille tres chaud') >= 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue