fix ignore of "total" lines
This commit is contained in:
parent
3bf04d6bc0
commit
afd5bba8a1
2 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ class CardHistory(BasePage):
|
|||
for tr in form.xpath('.//tbody/tr'):
|
||||
tds = tr.xpath('./td')
|
||||
|
||||
if tr.attrib.get('class', '') in ('total', 'visible-phone') or 'style' in tr.attrib or len(tds) < 3:
|
||||
if tr.attrib.get('class', '') in ('total gras', 'visible-phone') or 'style' in tr.attrib or len(tds) < 3:
|
||||
continue
|
||||
|
||||
date = self.parser.tocleanstring(tds[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue