diff --git a/modules/ing/browser.py b/modules/ing/browser.py index 5e2cc9f9635b79291d509b8fe1dd4e8b4f6a3971..a885ce5b1730385b277fc60caced5a91116f903d 100644 --- a/modules/ing/browser.py +++ b/modules/ing/browser.py @@ -46,10 +46,10 @@ def start_with_main_site(f): def wrapper(*args, **kwargs): browser = args[0] - if browser.url and browser.url.startswith('https://bourse.ingdirect.fr/'): + if browser.url and browser.url.startswith('https://bourse.ing.fr/'): for i in range(3): try: - browser.location('https://bourse.ingdirect.fr/priv/redirectIng.php?pageIng=COMPTE') + browser.location('https://bourse.ing.fr/priv/redirectIng.php?pageIng=CC') except ServerError: pass else: @@ -90,10 +90,10 @@ class IngBrowser(LoginBrowser): # CapBank-Market netissima = URL(r'/data/asv/fiches-fonds/fonds-netissima.html', NetissimaPage) starttitre = URL(r'/general\?command=goToAccount&zone=COMPTE', TitrePage) - titrepage = URL(r'https://bourse.ingdirect.fr/priv/portefeuille-TR.php', TitrePage) - titrehistory = URL(r'https://bourse.ingdirect.fr/priv/compte.php\?ong=3', TitreHistory) - titrerealtime = URL(r'https://bourse.ingdirect.fr/streaming/compteTempsReelCK.php', TitrePage) - titrevalue = URL(r'https://bourse.ingdirect.fr/priv/fiche-valeur.php\?val=(?P.*)&pl=(?P.*)&popup=1', TitreValuePage) + titrepage = URL(r'https://bourse.ing.fr/priv/portefeuille-TR.php', TitrePage) + titrehistory = URL(r'https://bourse.ing.fr/priv/compte.php\?ong=3', TitreHistory) + titrerealtime = URL(r'https://bourse.ing.fr/streaming/compteTempsReelCK.php', TitrePage) + titrevalue = URL(r'https://bourse.ing.fr/priv/fiche-valeur.php\?val=(?P.*)&pl=(?P.*)&popup=1', TitreValuePage) asv_history = URL(r'https://ingdirectvie.ing.fr/b2b2c/epargne/CoeLisMvt', r'https://ingdirectvie.ing.fr/b2b2c/epargne/CoeDetMvt', ASVHistory) asv_invest = URL(r'https://ingdirectvie.ing.fr/b2b2c/epargne/CoeDetCon', ASVInvest)