This commit is contained in:
Tim Bentley 2010-11-24 17:39:07 +00:00
commit 0b1a187f94
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ class BGExtract(object):
finally:
if not page:
return None
cleaner = [(re.compile('&nbsp;|<br />'), lambda match: '')]
cleaner = [(re.compile('&nbsp;|<br />|\'\+\''), lambda match: '')]
soup = None
try:
soup = BeautifulSoup(page, markupMassage=cleaner)