set CERTHASH const on most bank modules and others

This commit is contained in:
Romain Bignon 2012-09-01 13:38:08 +02:00
commit dde19633d3
13 changed files with 15 additions and 5 deletions

View file

@ -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')