Skip to content

migueltsantana/TheBookIsRight

Repository files navigation

📚 The Book Is Right 📚

The Book Is Right is a serverless implementation of a web scraper for book prices, based on Python 3.

Why?

Everyone loves to get the best bang for their buck. And books are no exception, whether it is for college or just for personal pleasure!

This started as a personal project to get my college books for the best price possible, as they get quite expensive. It was built from the beginning to run in a serverless cloud environment.

Requirements

  • An AWS account
    • AWS Access Key ID
    • AWS Secret Access Key
    • Preferred region to deploy
  • SMTP server to send e-mails (I've used AWS SES, but any Gmail or Outlook account is fine)
  • Python 3.6+ installed

Installation

To install "The Book Is Right" you just have to run the following commands:

  1. Create a virtual environment (venv) inside the root folder of the project.
    python3 -m venv venv
  2. Source the newly created virtual environment.
    source venv/bin/activate
  3. Install all the "pip" packages from requirements.txt.
    pip install -r requirements.txt
  4. Fill out the variables inside the settings.py file.
  5. Run the CLI app to auto-deploy it to AWS.
    python thebookisright.py deploy
  6. Done!

What bookstores are currently available?

🌐
Book Depository - https://www.bookdepository.com/

🇫🇷
Amazon France - https://www.amazon.fr/

🇩🇪
Amazon Deutschland - https://www.amazon.de/

🇮🇹
Amazon Italia - https://www.amazon.it/

🇵🇹
Almedina - https://www.almedina.net/
Bertrand - https://www.bertrand.pt/
FCA - https://www.fca.pt/
Wook - https://www.wook.pt/

🇪🇸
Amazon España - https://www.amazon.es/

🇬🇧
Amazon UK - https://www.amazon.co.uk/

This scraper is very focused on Europe, but you're free to contribute with your favourite bookstores! Just make a pull request with your bookstore and I'll be more than happy to include it in this repository.

About

The right price for the right book

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published