ability to configure age and reduction card
This commit is contained in:
parent
f471040455
commit
ae7a28ae04
3 changed files with 47 additions and 12 deletions
|
|
@ -44,8 +44,8 @@ class VoyagesSNCFBrowser(BaseBrowser):
|
|||
self.location('/completion/VSC/FR/fr/cityList.js')
|
||||
return self.page.get_stations()
|
||||
|
||||
def iter_departures(self, departure, arrival, date):
|
||||
def iter_departures(self, departure, arrival, date, age, card):
|
||||
self.location('/billet-train')
|
||||
self.page.search(departure, arrival, date)
|
||||
self.page.search(departure, arrival, date, age, card)
|
||||
|
||||
return self.page.iter_results()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue