Find the cheapest or shortest roundtrip flights by comparing prices from Expedia and Google Flights. Given your departing and arriving airports and dates, this scraper tries to find the cheapest or shortest flights. Please note that this scraper looks for flights +/- 1 day of the given dates as well to check to see if we can find any cheaper flights.
Note: This code has been tested/optimized for Python 2.x
Please make sure to install these packages before trying to run this code!
pip install pattern
pip install requests
Please also make sure you get a Google API key and insert it into google_flights_API.py
file
python price_check.py [departure_date] [return_date] [departure_airport] [return_airport]
python price_check.py 08/30/2017 09/30/2017 BWI ICN
- Baekchun Kim