[feedly] improve login management

This commit is contained in:
Bezleputh 2015-03-13 16:46:39 +01:00
commit 1569eb00ee
3 changed files with 26 additions and 18 deletions

View file

@ -20,11 +20,11 @@
from urlparse import urlparse, parse_qs
from weboob.browser import LoginBrowser, URL
from weboob.browser.pages import HTMLPage
from weboob.browser.pages import HTMLPage, LoggedPage
from weboob.exceptions import BrowserIncorrectPassword
class GoogleLoginPage(HTMLPage):
class GoogleLoginPage(LoggedPage, HTMLPage):
def login(self, login, passwd):
form = self.get_form('//form[@id="gaia_loginform"]')
form['Email'] = login