parent
8a3c79e8ee
commit
edec95bc5d
2 changed files with 4 additions and 2 deletions
|
|
@ -18,7 +18,7 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from weboob.capabilities.bank import ICapBank
|
||||
from weboob.capabilities.bank import ICapBank, Account
|
||||
from weboob.tools.backend import BaseBackend, BackendConfig
|
||||
from weboob.tools.value import ValueBackendPassword
|
||||
|
||||
|
|
@ -49,6 +49,8 @@ class BPBackend(BaseBackend, ICapBank):
|
|||
return self.browser.get_account(_id)
|
||||
|
||||
def iter_history(self, account):
|
||||
if account.type != Account.TYPE_MARKET:
|
||||
raise NotImplementedError()
|
||||
for tr in self.browser.get_history(account):
|
||||
if not tr._coming:
|
||||
yield tr
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ class AccountList(BasePage):
|
|||
account.label = to_unicode(tmp.text)
|
||||
account._link_id = tmp.get("href")
|
||||
if 'BourseEnLigne' in account._link_id:
|
||||
continue
|
||||
account.type = Account.TYPE_MARKET
|
||||
|
||||
tmp = line.xpath("./td/span/strong")
|
||||
if len(tmp) >= 2:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue