Website Scraper for LSZS Airport arrivals/departures Table. Serves the arrivals/departures Table as a JSON API (files).
This script downloads the html table from the LSZS website: engadin-airport.ch and parses it into a timetable.json file.
Use the -o parameter to specify the output directory.
python3 get-lszs.py -o engadin/{
"data": [
{
"aircraft": "OYCKK",
"callsign": "MMD6616",
"type": "F2TH",
"lastinfo": "CANCEL",
"destination": "Paris-Le-Bourget (France)CANCEL",
"time": "13:00",
"stats": "departure"
}
]
}LICENSE
Apache License 2.0
(c) 2020 Simon Burkhardt