fix retrieve of more transactions (stop when next button is disabled)
This commit is contained in:
parent
bf0bc02ffc
commit
6de98cff0c
1 changed files with 2 additions and 1 deletions
|
|
@ -114,7 +114,8 @@ class Transaction(FrenchTransaction):
|
|||
|
||||
class TransactionsPage(BasePage):
|
||||
def get_next_params(self):
|
||||
if len(self.document.xpath('//li[@id="tbl1_nxt"]')) == 0:
|
||||
nxt = self.document.xpath('//li[@id="tbl1_nxt"]')
|
||||
if len(nxt) == 0 or nxt[0].attrib.get('class', '') == 'nxt-dis':
|
||||
return None
|
||||
|
||||
params = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue