Tracks the coach prices for the Bristol to London route on Megabus, National Express and Flixbus.
Plot prices advertised on thse 3 bus operators over the course of 3 weeks, right up to the departure date. Find out what sorts of trends we see in their dynamic pricing algorithms, and try to buy the tickets at the optimal time(i.e. lowest price).
- scrape sites for price
- log price in a database
- plot historic prices over 3 weeks
- have option to look at price for every week's trip
Install python dependencies:
poetry install
Run program:
poetry run python price_tracker/get_mega_bus_prices.py