Skip to content
A utility tool for checking Flight Schedule!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
airports_list.pdf
flights.py

README.md

#Flight_Schedule

A simple utility script which will show the flight schedule between any two airports.

Modules required:

  • Selenium:

    • It can be installed using sudo pip install selenium or sudo apt-get install python-selenium.
  • Bs4:

    • It can be installed using sudo pip install bs4 or sudo apt-get install python-bs4.

It is implemented using the BeautifulSoup module of bs4 and the webdriver module of selenium to scrape data from this website.

How to use: The script will show the flights between two airports on a specific dates as entered by the user, along with the Departure time, Arrival time, Duration and the price (per adult). The script shows results for both one-way journey and round-trip journey.

To run the script: Type python flights.py from your terminal.

All the flight results will be displayed on the terminal, as well as saved in a file called search_result.txt in the same directory.

You can’t perform that action at this time.