The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit f41984a8 authored by Christophe François's avatar Christophe François Committed by Vincent A

[lcl] Handle JS pagination for private accounts

The regex only accepted professional accounts.

Closes: 20319@sibi
parent 1cc168ba
......@@ -591,7 +591,7 @@ def next_page(self):
form = self.page.get_form(id="listeMouvementsForm")
url_tuple = urlparse(self.page.url)
query = re.match(r"javascript:listeMouvementsPro\('([^']*)'\)", href)
query = re.match(r"javascript:listeMouvements(?:Pro|Par)\('([^']*)'\)", href)
if not query:
raise AssertionError("Form of the javascript call to change pages has changed.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment