Skip to content
This repository has been archived by the owner on Feb 12, 2020. It is now read-only.
/ Roundtrip Public archive

๐Ÿ ๐Ÿ›ซ๐Ÿ›ฌ๐Ÿ™๏ธ๐Ÿ›ซ๐Ÿ›ฌ๐Ÿ™๏ธ๐Ÿ›ซ๐Ÿ›ฌ๐Ÿ™๏ธ๐Ÿ›ซ๐Ÿ›ฌ ๐Ÿ , minimize๐Ÿ’ฐof your๐ŸŒด

License

Notifications You must be signed in to change notification settings

whazor/Roundtrip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

New: Tripchemy

After using the below project, @Roconda and me started developing a version that scrapes from airlines directly and uses smart algorithms to directly provide cool routes. Check out https://www.tripchemy.com/ for the latest versions.

Roundtrip finder

Warning: This project finds flight information from Google Flights and room price information from AirBNB, do not abuse their services.

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Google or AirBnB or any of their affiliates or subsidiaries. This crawls the data from Google Flights and AirBnB. Use at your own risk.

The roundtrip finder searches for the cheapest tour within given locations.

Functionality

Example

Install

First optionally create a python enviroment.

Then execute the following commands:

pip3 install -r requirements.txt
python3 manage.py runserver

You might need to install the chromedriver, on an OSX machine you can run:

brew install chromedriver

Catches

There are some catches which I address below:

  • consider the flight times, you want to avoid flying too early or too late as you have to travel to the airport. Currently, flights are filtered with a departure time between 08:00 and 20:00. This is hard-coded and you can find the query parameter here.
  • it only searches for continental destinations, currently fixed to Europe which is hard-coded here. I tried adding intercontinential but got negative results.
  • consider the distance from airport to city (airport of paris is 2 hours traveling)
  • flights can be canceled, have a backup plan (for example a rental car). In Europe you retrieve compensation for last-minute changes, more details.

Safe travels! Let everyone know about your (un)successful trips in the issues.

Feedback

When running into problems, please create issues or pull requests.

About

๐Ÿ ๐Ÿ›ซ๐Ÿ›ฌ๐Ÿ™๏ธ๐Ÿ›ซ๐Ÿ›ฌ๐Ÿ™๏ธ๐Ÿ›ซ๐Ÿ›ฌ๐Ÿ™๏ธ๐Ÿ›ซ๐Ÿ›ฌ ๐Ÿ , minimize๐Ÿ’ฐof your๐ŸŒด

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages