[weboob] [PATCH 2/4] [ameli] PaymentDetailsPage: use a simpler URL

Pierre-Louis Bonicoli pierre-louis.bonicoli at gmx.fr
Sun Jul 26 02:07:09 CEST 2015


Signed-off-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli at gmx.fr>
---
 modules/ameli/browser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/ameli/browser.py b/modules/ameli/browser.py
index b8002b9..6c5b47b 100644
--- a/modules/ameli/browser.py
+++ b/modules/ameli/browser.py
@@ -34,7 +34,7 @@ class AmeliBrowser(LoginBrowser):
     homep = URL('/PortailAS/appmanager/PortailAS/assure\?_nfpb=true&_pageLabel=as_accueil_page', HomePage)
     accountp = URL('/PortailAS/appmanager/PortailAS/assure\?_nfpb=true&_pageLabel=as_info_perso_page', AccountPage)
     billsp = URL('/PortailAS/appmanager/PortailAS/assure\?_nfpb=true&_pageLabel=as_revele_mensuel_presta_page', BillsPage)
-    paymentdetailsp = URL('/PortailAS/appmanager/PortailAS/assure\?_nfpb=true&_pageLabel=as_dernier_paiement_page&paiements_1_actionOverride=%2Fportlets%2Fpaiements%2Fdetailpaiements&paiements_1idPaiement=.*', PaymentDetailsPage)
+    paymentdetailsp = URL('/PortailAS/appmanager/PortailAS/assure\?.*_pageLabel=as_dernier_paiement_page&paiements_1_actionOverride=%2Fportlets%2Fpaiements%2Fdetailpaiements.*', PaymentDetailsPage)
     lastpaymentsp = URL('/PortailAS/appmanager/PortailAS/assure\?_nfpb=true&_pageLabel=as_dernier_paiement_page$', LastPaymentsPage)
 
     logged = False
-- 
2.1.4



More information about the weboob mailing list