Coder Social home page Coder Social logo

booking.com's Introduction

Booking.com Bot

Idea for this bot is from jimdevops booking.com scraper.

Get you travel deals using this bot. The tool applies different filters to as you would intend It returns the results in a csv file

Features

  • Search booking for different locations
  • Control Currency for the price
  • Get prices for the different dates
  • Filter the deals by rating, get the reviews, Sort Data by the different methods

How to use

Booking.Com arguments:

Sensible defauls have been made for these arguments

Arguments Description Type
--query driver-path string
--currency Currency for Booking string
--place Place you will are interested in string
--check-in-date Expected date you will be checking-in string
--check-out-daye Expected date you will be checking-out string
--adults Number of Adults making the booking int
--sort-by What variabe do you want to sort the results with string
--output-csv Output file - will be a csv string
-h Shows the help --

Note

You can use only one of the arguments in the following groups The website is subject to regular changes - It may fail. If it fails start a new issue. I will respond soonest

Example

Get the booking details for Mombasa

python main.py --driver-path "C:\path\to\chromedriver.exe" --currency USD --place "Mombasa" --check-in-date "2023-10-10" --check-out-date "2023-11-10" --adults 3 --sort-by "Price (lowest first)" --output-csv "booking_results.csv"

Contributions

Feel free to contribute to this project by proposing any change or fixing

To do

  • More control of the Bot
  • Code documentation
  • General improvements

Disclaimer

This application is for educational purposes only.

booking.com's People

Contributors

jimdevops19 avatar wakibia avatar

Stargazers

cmwakibia avatar

Watchers

 avatar

Forkers

cmwakibia

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.