项目作者: mnemocron

项目描述 :
Website Scraper for LSZS Airport (Samedan/Engadin) arrivals/departures Table
高级语言: Python
项目地址: git://github.com/mnemocron/LSZSMovements.git
创建时间: 2020-01-07T14:33:05Z
项目社区:https://github.com/mnemocron/LSZSMovements

开源协议:Apache License 2.0

下载


LSZSMovements

Website Scraper for LSZS Airport arrivals/departures Table.
Serves the arrivals/departures Table as a JSON API (files).


forthebadge made-with-python

volkswagen status

This script downloads the html table from the LSZS website: engadin-airport.ch and parses it into a timetable.json file.

Usage

Use the -o parameter to specify the output directory.

  1. python3 get-lszs.py -o engadin/

Example Output

  1. {
  2. "data": [
  3. {
  4. "aircraft": "OYCKK",
  5. "callsign": "MMD6616",
  6. "type": "F2TH",
  7. "lastinfo": "CANCEL",
  8. "destination": "Paris-Le-Bourget (France)CANCEL",
  9. "time": "13:00",
  10. "stats": "departure"
  11. }
  12. ]
  13. }

LICENSE

Apache License 2.0

(c) 2020 Simon Burkhardt