Commit 917a33b2 authored by Baptiste Delpey's avatar Baptiste Delpey Committed by Romain Bignon

ing: ingdirect is now also ing on bourse website

parent 4de3b08d
......@@ -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<val>.*)&pl=(?P<pl>.*)&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<val>.*)&pl=(?P<pl>.*)&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)
......
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