This is a scraper for books from Book Depository in order to get the results which are currently available and on the next stage would like to add a price following functionality - if desired price range is met, a notice is sent through email.
First you'll have to install Ruby into your computer. Then you'll need to download the project into your computer and open up the terminal in the project root directory. Then you'll have to run command bundle install in terminal and have a little luck with all the gems installing without problems. Then you'll have to run the command ruby application_controller.rb in terminal and open up browser at URL localhost:4567. Instructions, how to use the scraper, is provided through GUI in browser or you can see from the GIF screenshot.
There's six tests over all, which test that the connection with Book Depository webpage is set up and all the functions work in order to get the desired search results or no error is thrown if for the result is no books at all.
Work in progress to get it set up in Heroku!
- Ruby - Programming language used
- JavaScript - Programming language used
- HTML - Programming language used
- CSS - Programming language used
- VS Code - Code editor used
👤 Jaak Kivinukk
- Github: Jaakal
- Twitter: @JKivinukk
- Linkedin: Jaak Kivinukk
This project is licensed under the MIT License - see the LICENSE file for details
- Shout out to Sagun Shrestha and his article Web Scraping Project Ideas for giving me ideas for the scraper project