Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sachs7/flight-finder
Given a round-trip dates, find flight availability by scrapping Google Flights site and send a screenshot and a text file via Slack!
https://github.com/sachs7/flight-finder
bot flight-finder python selenium-webdriver slack-bot splinter travel-helper web-scraping
Last synced: 29 days ago
JSON representation
Given a round-trip dates, find flight availability by scrapping Google Flights site and send a screenshot and a text file via Slack!
- Host: GitHub
- URL: https://github.com/sachs7/flight-finder
- Owner: sachs7
- License: gpl-3.0
- Created: 2017-08-02T23:55:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-03T22:23:46.000Z (10 months ago)
- Last Synced: 2024-03-03T23:27:14.847Z (10 months ago)
- Topics: bot, flight-finder, python, selenium-webdriver, slack-bot, splinter, travel-helper, web-scraping
- Language: Python
- Homepage:
- Size: 737 KB
- Stars: 7
- Watchers: 4
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flight-Finder
Imagine you plan to travel to a different country but want to find a flight that fits into your budget! Isn't it kind of annoying to keep visiting flight site's daily to know if you can find a fare that is light on your pocket? Well, this is an attempt to automate this process via Splinter (a wrapper around Selenium), Python and Slack - for sending you updates.
The bot sends you an update every half an hour (can be adjusted) so that you never miss an opportunity to book a budget airline!
To install:
- Clone this repo.
- Run `pip3 install -r requirements.txt`
- Download Chrome Driver and place it in Python PATH
- Edit "BASE_PATH" variable in `settings.py`
- Run `python3 main.py`Note: You need to get a Slack Token and have a Slack channel for this to work. Slack Message and the Commandline output is as shown in below:
Slack Message:
![Sample Slack Message](https://github.com/sachs7/Flight-Finder/blob/master/Slack_Message_Example.png?raw=true "Slack Message")CommandLine:
![CommandLine Format](https://github.com/sachs7/Flight-Finder/blob/master/Flight_Details_cmd_line.png?raw=true "CommandLine Message")