Skip to content

Jaakal/scraper

Repository files navigation

Scraper

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.

Screenshot

Screenshot of the webpage

Getting Started

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.

Rspec tests

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.

Deployment

Work in progress to get it set up in Heroku!

Built With

  • Ruby - Programming language used
  • JavaScript - Programming language used
  • HTML - Programming language used
  • CSS - Programming language used
  • VS Code - Code editor used

Authors

👤 Jaak Kivinukk

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors