Add details command
This commit is contained in:
parent
d9ed7c2ed2
commit
8fa430e61f
2 changed files with 44 additions and 10 deletions
|
|
@ -112,7 +112,10 @@ class Leclercmobile(BaseBrowser):
|
|||
def get_details(self):
|
||||
if not self.is_on_page(HistoryPage):
|
||||
self.location(self.conso)
|
||||
return self.page.get_details()
|
||||
response = self.openurl('/EspaceClient/pgeWERL015_RecupReleveConso.aspx?m=-0')
|
||||
pdf = PdfPage(StringIO.StringIO(response.read()))
|
||||
for detail in pdf.get_details():
|
||||
yield detail
|
||||
|
||||
def iter_bills(self, parentid):
|
||||
if not self.is_on_page(HistoryPage):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue