Crawls real-time information on flights and airports.
Crawls real-time information on flights and airports.
To crawl real-time flight information:
python init_db.py
to initialize SQLite3 database;env.py
like env.py.sample
and set values accordingly;main.py
and set ICAO codes of airlines to be crawled;flights.cron
as wished and copy into /etc/cron.d/
.To populate the airports table:
python init_db.py
to initialize SQLite3 database;env.py
like env.py.sample
and set values accordingly;python airports.py
.