Skip to content

Commit 2b37860

Browse files
authored
use alt url by default due to problem with the main url
1 parent 6f485cb commit 2b37860

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

open_bus_siri_requester/requester.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
from . import config, storage
1414

1515

16-
REQUEST_URL_TEMPLATE = "http://moran.mot.gov.il:110/Channels/HTTPChannel/SmQuery/2.8/json?Key={Key}&MonitoringRef=AllActiveTripsFilter&StopVisitDetailLevel=normal"
17-
ALT_REQUEST_URL_TEMPLATE = REQUEST_URL_TEMPLATE.replace(':110/', ':1110/')
16+
REQUEST_URL_TEMPLATE = "http://moran.mot.gov.il:1110/Channels/HTTPChannel/SmQuery/2.8/json?Key={Key}&MonitoringRef=AllActiveTripsFilter&StopVisitDetailLevel=normal"
17+
ALT_REQUEST_URL_TEMPLATE = REQUEST_URL_TEMPLATE.replace(':1110/', ':110/')
1818

1919

2020
@contextlib.contextmanager

0 commit comments

Comments
 (0)