support comfort classes
This commit is contained in:
parent
d8ccc81f93
commit
3186df0cc7
3 changed files with 10 additions and 5 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, age, card):
|
||||
def iter_departures(self, departure, arrival, date, age, card, comfort_class):
|
||||
self.location('/billet-train')
|
||||
self.page.search(departure, arrival, date, age, card)
|
||||
self.page.search(departure, arrival, date, age, card, comfort_class)
|
||||
|
||||
return self.page.iter_results()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue