Closed osm-ToniE closed 1 year ago
curl -s https://otwartedane.metropoliagzm.pl/dataset/86b5ce0c-daea-4b40-bc60-af2c80477d21.jsonld | jq ' ."@graph"[]."dcat:accessURL"."@id"' | fgrep 'schedule' | sed -e 's/^"//' -e 's/"$//' -e 's/^\(.*\)\(schedule.*\)$/\2 \1/' | sort -r | head -1 | sed -e 's/^\(.*\) \(http.*\)$/\2\1/'
'everest' can't reach the GTFS feed server, there is a timeout
Current GTFS data is released periodically (usually daily) by the transport authority itself as Open Data (I believe the specific licence is CC-BY-4.0): https://otwartedane.metropoliagzm.pl/en/dataset/rozklady-jazdy-i-lokalizacja-przystankow-gtfs I believe there is no single link to the current version, but names follow a pattern and the list is also available in machine-readable form so getting the newest one shouldn’t be too hard: https://otwartedane.metropoliagzm.pl/dataset/86b5ce0c-daea-4b40-bc60-af2c80477d21.jsonld https://otwartedane.metropoliagzm.pl/dataset/86b5ce0c-daea-4b40-bc60-af2c80477d21.xml