new patterns
This commit is contained in:
parent
24e3671f27
commit
2d6366c220
2 changed files with 7 additions and 1 deletions
|
|
@ -55,6 +55,8 @@ class AntiSpam(object):
|
|||
return False
|
||||
if profile.description.find('plan cam sexy') >= 0:
|
||||
return False
|
||||
if profile.description.find('belle dans la cam') >= 0:
|
||||
return False
|
||||
if profile.description.find('show sex') >= 0:
|
||||
return False
|
||||
if profile.description.find('un mec tres chaude') >= 0:
|
||||
|
|
@ -67,6 +69,10 @@ class AntiSpam(object):
|
|||
return False
|
||||
if profile.description.find('une fille tres chaud') >= 0:
|
||||
return False
|
||||
if profile.description.startswith('msn\n\n'):
|
||||
return False
|
||||
if profile.description.endswith('Moi la bonne jeune fille gaie'):
|
||||
return False
|
||||
# Her 'Shopping-list' begins with 'hummm'
|
||||
if profile.description.find(':\nhummm') >= 0:
|
||||
return False
|
||||
|
|
|
|||
|
|
@ -315,7 +315,7 @@ class ProfilePage(PageBase):
|
|||
elif hasattr(c, 'tagName') and c.tagName == 'i':
|
||||
description += ''.join(c.childNodes[0].data.split('\n'))
|
||||
|
||||
self.description = description
|
||||
self.description = description.strip()
|
||||
|
||||
def parse_table(self, div):
|
||||
d = self.table[self.tables[div.getAttribute('id')]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue