higsch / flyhigh

...pay low from Stockholm to Frankfurt.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flyhigh

... tracks flight prices from ARN to FRA. Experimental stage.

Visualise flight prices

Get it running

git clone https://github.com/higsch/flyhigh.git
cd flyhigh/visualisation/app/
npm install
npm run dev

This is how it looks like

Screenshot_00

Screenshot_01

Collect flight prices

Get the docker image here.

docker pull matthiasstahl/flyhigh

#or: if you are on a raspberry pi system
docker pull matthiasstahl/flyhigh:pi

Then, let's roll!

# assumes a db folder in the current directory
docker run -it -v "$(pwd)"/db:/db matthiasstahl/flyhigh

And of course, if you want to have it run on your system directly.

pip3 install selenium bs4
python3 flyhigh.py

Check if the chromedriver is in your PATH. Otherwise download an appropriate version from the electron repo. The driver you need for a raspberrypi system is chromedriver-*-linux-armv7l.zip.

About

...pay low from Stockholm to Frankfurt.

License:MIT License


Languages

Language:HTML 59.9%Language:JavaScript 18.9%Language:R 8.8%Language:Python 8.3%Language:CSS 2.5%Language:Dockerfile 1.2%Language:Shell 0.3%