fix regexp of product name in page
This commit is contained in:
parent
a4b568b204
commit
344ab189fc
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class ComparisonResultsPage(BasePage):
|
||||||
except BrokenPageError:
|
except BrokenPageError:
|
||||||
return NotAvailable
|
return NotAvailable
|
||||||
else:
|
else:
|
||||||
m = re.match('Carburant : (\w+) | .*', div.text)
|
m = re.match('Carburant : ([\w\-]+) | .*', div.text)
|
||||||
return m.group(1)
|
return m.group(1)
|
||||||
|
|
||||||
def iter_results(self, product=None):
|
def iter_results(self, product=None):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue