Fix pdf downloading
This commit is contained in:
parent
159e74ac6d
commit
7f290ef512
2 changed files with 9 additions and 3 deletions
|
|
@ -102,6 +102,6 @@ class Freemobile(BaseBrowser):
|
|||
|
||||
def download_bill(self, id):
|
||||
assert isinstance(id, basestring)
|
||||
date = id.split('.')[1]
|
||||
bill = self.get_bill(id)
|
||||
|
||||
return self.readurl('/moncompte/ajax.php?page=facture&mode=html&date=' + date)
|
||||
return self.readurl(bill._url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue