lxml is needed for bp

This commit is contained in:
Romain Bignon 2011-05-10 17:26:15 +02:00
commit e0cb6d6dfe

View file

@ -56,6 +56,10 @@ class BPBrowser(BaseBrowser):
r'.*ost/messages\.CVS\.html\?param=0x132120cb.*' : AccountDesactivate, r'.*ost/messages\.CVS\.html\?param=0x132120cb.*' : AccountDesactivate,
} }
def __init__(self, *args, **kwargs):
kwargs['parser'] = ('lxml',)
BaseBrowser.__init__(self, *args, **kwargs)
def home(self): def home(self):
self.location('https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?TAM_OP=login&' self.location('https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?TAM_OP=login&'
'ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers') 'ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers')