BASEURL is now working

This commit is contained in:
Florent 2014-04-18 09:55:54 +02:00
commit 8d975aa1d2

View file

@ -25,12 +25,12 @@ __all__ = ['Freemobile']
class Freemobile(LoginBrowser):
BASEURL = 'https://mobile.free.fr'
BASEURL = 'https://mobile.free.fr/moncompte/'
homepage = URL('/moncompte/index.php\?page=home', HomePage)
detailspage = URL('/moncompte/index.php\?page=suiviconso', DetailsPage)
loginpage = URL('/moncompte/index.php', LoginPage)
historypage = URL('/moncompte/ajax.php\?page=consotel_current_month', HistoryPage)
homepage = URL('index.php\?page=home', HomePage)
detailspage = URL('index.php\?page=suiviconso', DetailsPage)
loginpage = URL('index.php', LoginPage)
historypage = URL('ajax.php\?page=consotel_current_month', HistoryPage)
def do_login(self):
assert isinstance(self.username, basestring)