fixing 2nd detail line who was considered like investment
This commit is contained in:
parent
7b0cbfdc41
commit
fc6aa997e7
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class PeaHistoryPage(Page):
|
||||||
COL_WEIGHT = 7
|
COL_WEIGHT = 7
|
||||||
def get_investments(self):
|
def get_investments(self):
|
||||||
for line in self.document.xpath('//table[@id="t_intraday"]/tbody/tr'):
|
for line in self.document.xpath('//table[@id="t_intraday"]/tbody/tr'):
|
||||||
if line.find_class('categorie') or line.find_class('detail'):
|
if line.find_class('categorie') or line.find_class('detail') or line.find_class('detail02'):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
cols = line.findall('td')
|
cols = line.findall('td')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue