81b0b9679c19b369b4ff3401ef3bab1fd1b271af
[pywienerlinien] / gotovienna / defaults.py
1 from os import path
2
3 # route search
4 folder = path.dirname(__file__)
5 action = 'http://efa.vor.at/wvb/XSLT_TRIP_REQUEST2'
6 hist_file = path.join(folder, '.wl_history')
7
8 # iTip
9
10 line_overview = 'http://www.wienerlinien.at/itip/linienwahl/'
11 stations = 'http://www.wienerlinien.at/itip/haltestelle?letter=%s'
12
13 search_post = {'language': 'de',
14             'sessionID': 0,
15             'requestID': 0,
16             'execInst': 'normal',
17             'command': '',
18             'anySigWhenPerfectNoOtherMatches': 1,
19             'itdLPxx_locationServerActive': '',
20             'locationServerActive': 0,
21             'typeInfo_origin': 'invalid',
22             'placeState_origin': 'empty',
23             'placeInfo_origin': 'invalid',
24             'place_origin': 'Wien', # overwrite if necessary
25             'type_origin': None, # stop/address/poi
26             'nameState_origin': 'empty',
27             'nameInfo_origin': 'invalid',
28             'anyType_origin': '',
29             'name_origin': None,
30             'typeInfo_destination': 'invalid',
31             'placeState_destination': 'empty',
32             'placeInfo_destination': 'invalid',
33             'place_destination': 'Wien', # overwrite if necessary
34             'type_destination': None, # stop/address/poi
35             'nameState_destination': 'empty',
36             'nameInfo_destination': 'invalid',
37             'anyType_destination': '', # maybe nice
38             'name_destination': None,
39             'itdTripDateTimeDepArr': 'dep',
40             'itdDateDayMonthYear': None, # DD.MM.YYYY
41             'itdTime': None, # HH:MM
42             'submitbutton': 'SUCHEN'
43         }