handling account without history
This commit is contained in:
parent
c6b1b151f4
commit
4bebb5de56
1 changed files with 4 additions and 1 deletions
|
|
@ -184,7 +184,10 @@ class BNPorc(Browser):
|
|||
|
||||
self.location('https://www.secure.bnpparibas.net/banque/portail/particulier/FicheA', urllib.urlencode(data))
|
||||
|
||||
execution = self.page.document.xpath('//form[@name="displayStatementForm"]/input[@name="_flowExecutionKey"]')[0].attrib['value']
|
||||
e = self.page.document.xpath('//form[@name="displayStatementForm"]/input[@name="_flowExecutionKey"]')
|
||||
if len(e) != 1:
|
||||
return
|
||||
execution = e[0].attrib['value']
|
||||
data = {'_eventId': 'changeOperationsPerPage',
|
||||
'newCategoryId': '',
|
||||
'categorisationInProgress': '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue