Add loggedPage on bourse.ingdirect.fr
This commit is contained in:
parent
35f03a00a1
commit
cee106a0e5
1 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
|
||||||
from weboob.capabilities.bank import Investment
|
from weboob.capabilities.bank import Investment
|
||||||
from weboob.tools.browser2.page import RawPage, HTMLPage, method
|
from weboob.tools.browser2.page import RawPage, HTMLPage, method, LoggedPage
|
||||||
from weboob.tools.browser2.elements import ListElement, ItemElement
|
from weboob.tools.browser2.elements import ListElement, ItemElement
|
||||||
from weboob.tools.browser2.filters import CleanDecimal, CleanText, Date
|
from weboob.tools.browser2.filters import CleanDecimal, CleanText, Date
|
||||||
from weboob.tools.capabilities.bank.transactions import FrenchTransaction
|
from weboob.tools.capabilities.bank.transactions import FrenchTransaction
|
||||||
|
|
@ -31,7 +31,7 @@ class Transaction(FrenchTransaction):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class TitrePage(RawPage):
|
class TitrePage(LoggedPage, RawPage):
|
||||||
def iter_investments(self):
|
def iter_investments(self):
|
||||||
# We did not get some html, but something like that (XX is a quantity, YY a price):
|
# We did not get some html, but something like that (XX is a quantity, YY a price):
|
||||||
# message='[...]
|
# message='[...]
|
||||||
|
|
@ -56,7 +56,7 @@ class TitrePage(RawPage):
|
||||||
yield invest
|
yield invest
|
||||||
|
|
||||||
|
|
||||||
class TitreHistory(HTMLPage):
|
class TitreHistory(LoggedPage, HTMLPage):
|
||||||
@method
|
@method
|
||||||
class iter_history(ListElement):
|
class iter_history(ListElement):
|
||||||
item_xpath = '//table[@class="datas retour"]/tr'
|
item_xpath = '//table[@class="datas retour"]/tr'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue