set CERTHASH const on most bank modules and others
This commit is contained in:
parent
bf3206418b
commit
dde19633d3
13 changed files with 15 additions and 5 deletions
|
|
@ -37,6 +37,7 @@ __all__ = ['BNPorc']
|
|||
class BNPorc(BaseBrowser):
|
||||
DOMAIN = 'www.secure.bnpparibas.net'
|
||||
PROTOCOL = 'https'
|
||||
CERTHASH = '5511f0ff19c982b6351c17b901bfa7419f075edb13f2df41e446248beb7866bb'
|
||||
ENCODING = None # refer to the HTML encoding
|
||||
PAGES = {'.*pageId=unedescomptes.*': AccountsList,
|
||||
'.*pageId=releveoperations.*': AccountHistory,
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ __all__ = ['Boursorama']
|
|||
class Boursorama(BaseBrowser):
|
||||
DOMAIN = 'www.boursorama.com'
|
||||
PROTOCOL = 'https'
|
||||
CERTHASH = '74429081f489cb723a82171a94350913d42727053fc86cf5bf5c3d65d39ec449'
|
||||
ENCODING = None # refer to the HTML encoding
|
||||
PAGES = {
|
||||
'.*connexion.phtml.*': LoginPage,
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ __all__ = ['BPBrowser']
|
|||
class BPBrowser(BaseBrowser):
|
||||
DOMAIN = 'voscomptesenligne.labanquepostale.fr'
|
||||
PROTOCOL = 'https'
|
||||
CERTHASH = '868646b852c989638d4e5bbfab830e2cfbb82f4d2524e28d0251686a44e49163'
|
||||
ENCODING = None # refer to the HTML encoding
|
||||
PAGES = {r'.*wsost/OstBrokerWeb/loginform.*' : LoginPage,
|
||||
r'.*authentification/repositionnerCheminCourant-identif.ea' : repositionnerCheminCourant,
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ __all__ = ['BredBrowser']
|
|||
class BredBrowser(BaseBrowser):
|
||||
PROTOCOL = 'https'
|
||||
DOMAIN = 'www.bred.fr'
|
||||
CERTHASH = '26c5ba775fb3b99f7515a2748c2ae2da12931443afa99471a686ff6138efc5ec'
|
||||
ENCODING = 'iso-8859-15'
|
||||
PAGES = {'https://www.bred.fr/mylittleform.*': LoginPage,
|
||||
'https://www.bred.fr/Andromede/MainAuth.*': LoginResultPage,
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ __all__ = ['CaisseEpargne']
|
|||
class CaisseEpargne(BaseBrowser):
|
||||
DOMAIN = 'caisse-epargne.fr'
|
||||
PROTOCOL = 'https'
|
||||
CERTHASH = '165faeb5bd1bad22bf52029e3c09bf540199402a1fa70aa19e9d5f92d562ff69'
|
||||
PAGES = {'https://[^/]+.caisse-epargne.fr/particuliers/ind_pauthpopup.aspx.*': LoginPage,
|
||||
'https://[^/]+.caisse-epargne.fr/Portail.aspx': IndexPage,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ __all__ = ['CICBrowser']
|
|||
class CICBrowser(BaseBrowser):
|
||||
PROTOCOL = 'https'
|
||||
DOMAIN = 'www.cic.fr'
|
||||
CERTHASH = 'b7f681798d4f414fb5cb4032a0b6e8e0d61eeea564a1fb2c1c5a6fc351c70c50'
|
||||
ENCODING = 'iso-8859-1'
|
||||
USER_AGENT = BaseBrowser.USER_AGENTS['wget']
|
||||
PAGES = {'https://www.cic.fr/.*/fr/banques/particuliers/index.html': LoginPage,
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ __all__ = ['CreditMutuelBrowser']
|
|||
class CreditMutuelBrowser(BaseBrowser):
|
||||
PROTOCOL = 'https'
|
||||
DOMAIN = 'www.creditmutuel.fr'
|
||||
CERTHASH = '57beeba81e7a65d5fe15853219bcfcc2b2da27e0e618a78e6d97a689908ea57b'
|
||||
ENCODING = 'iso-8859-1'
|
||||
USER_AGENT = BaseBrowser.USER_AGENTS['wget']
|
||||
PAGES = {'https://www.creditmutuel.fr/groupe/fr/index.html': LoginPage,
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ class Fortuneo(BaseBrowser):
|
|||
DOMAIN_LOGIN = 'www.fortuneo.fr'
|
||||
DOMAIN = 'www.fortuneo.fr'
|
||||
PROTOCOL = 'https'
|
||||
CERTHASH = 'f71bd27994f395963c4a500d9d330cb50cef37ee5946146f9ca2492c2552b2ba'
|
||||
ENCODING = None # refer to the HTML encoding
|
||||
PAGES = {
|
||||
'.*identification.jsp.*':
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ __all__ = ['Freemobile']
|
|||
class Freemobile(BaseBrowser):
|
||||
DOMAIN = 'mobile.free.fr'
|
||||
PROTOCOL = 'https'
|
||||
CERTHASH = '73d1205c91dc6188597399e718ee145d9f1287fcc290a31ff0ba4477fbc893b2'
|
||||
ENCODING = None # refer to the HTML encoding
|
||||
PAGES = {'.*moncompte/index.php': LoginPage,
|
||||
'.*page=home': HomePage,
|
||||
|
|
@ -34,9 +35,6 @@ class Freemobile(BaseBrowser):
|
|||
'.*page=consotel_current_month': HistoryPage
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
BaseBrowser.__init__(self, *args, **kwargs)
|
||||
|
||||
def home(self):
|
||||
self.location('https://mobile.free.fr/moncompte/index.php')
|
||||
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ class NotLoggedPage(BasePage):
|
|||
class HSBC(BaseBrowser):
|
||||
DOMAIN = 'client.hsbc.fr'
|
||||
PROTOCOL = 'https'
|
||||
CERTHASH = '3f8d5765792a7a83b8e82b121d87adf2c25f2358c3a39d4716c09854e5be791a'
|
||||
ENCODING = None # refer to the HTML encoding
|
||||
PAGES = {'https://client.hsbc.fr/session_absente.html': NotLoggedPage,
|
||||
'https://client.hsbc.fr/cgi-bin/emcgi\?.*debr=COMPTES_PAN': AccountsListPage,
|
||||
|
|
|
|||
|
|
@ -36,12 +36,11 @@ class Ing(BaseBrowser):
|
|||
'.*accountDetail.jsf.*': AccountHistory,
|
||||
'.*displayTRHistoriqueLA.*': AccountHistory
|
||||
}
|
||||
HASH = "fba557b387cccc3d71ba038f9ef1de4d71541d7954744c79f6a7ff5f3cd4dc12"
|
||||
CERTHASH = "fba557b387cccc3d71ba038f9ef1de4d71541d7954744c79f6a7ff5f3cd4dc12"
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.birthday = kwargs.pop('birthday', None)
|
||||
BaseBrowser.__init__(self, *args, **kwargs)
|
||||
self.lowsslcheck(self.DOMAIN, self.HASH)
|
||||
|
||||
def home(self):
|
||||
self.location('https://secure.ingdirect.fr/public/displayLogin.jsf')
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ __all__ = ['LCLBrowser']
|
|||
class LCLBrowser(BaseBrowser):
|
||||
PROTOCOL = 'https'
|
||||
DOMAIN = 'particuliers.secure.lcl.fr'
|
||||
CERTHASH = 'ddfafa91c3e4dba2e6730df723ab5559ae55db351307ea1190d09bd025f74cce'
|
||||
ENCODING = 'utf-8'
|
||||
USER_AGENT = BaseBrowser.USER_AGENTS['wget']
|
||||
PAGES = {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,9 @@ __all__ = ['SocieteGenerale']
|
|||
|
||||
class SocieteGenerale(BaseBrowser):
|
||||
DOMAIN_LOGIN = 'particuliers.societegenerale.fr'
|
||||
CERTHASH_LOGIN = '72b78ce0b8ffc63a6dcbf8fc375a1ab5502d5dfefcac1d00901a73f5a94e9ed5'
|
||||
DOMAIN = 'particuliers.secure.societegenerale.fr'
|
||||
CERTHASH = '4499ca391d0d690050d80e625fd0b16e83476fd565d8e43315c7a9c025f02b88'
|
||||
PROTOCOL = 'https'
|
||||
ENCODING = None # refer to the HTML encoding
|
||||
PAGES = {
|
||||
|
|
@ -40,6 +42,7 @@ class SocieteGenerale(BaseBrowser):
|
|||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.lowsslcheck(self.DOMAIN_LOGIN, self.CERTHASH_LOGIN)
|
||||
BaseBrowser.__init__(self, *args, **kwargs)
|
||||
|
||||
def home(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue