Get renew date on freemobile
This commit is contained in:
parent
9585ba1284
commit
e35c7812ea
2 changed files with 17 additions and 1 deletions
|
|
@ -59,7 +59,11 @@ class Freemobile(BaseBrowser):
|
|||
if not self.is_on_page(HomePage):
|
||||
self.location('/moncompte/index.php?page=home')
|
||||
|
||||
return self.page.get_list()
|
||||
subscriptions = self.page.get_list()
|
||||
self.location('/moncompte/index.php?page=suiviconso')
|
||||
for subscription in subscriptions:
|
||||
subscription.renewdate = self.page.get_renew_date(subscription)
|
||||
yield subscription
|
||||
|
||||
def get_subscription(self, id):
|
||||
assert isinstance(id, basestring)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue