The Book Is Right is a serverless implementation of a web scraper for book prices, based on Python 3.
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.
- 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
To install "The Book Is Right" you just have to run the following commands:
- Create a virtual environment (venv) inside the root folder of the project.
python3 -m venv venv
- Source the newly created virtual environment.
source venv/bin/activate
- Install all the "pip" packages from
requirements.txt
.pip install -r requirements.txt
- Fill out the variables inside the
settings.py
file. - Run the CLI app to auto-deploy it to AWS.
python thebookisright.py deploy
- Done!
🌐
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.