In this project, I was asked to use ruby for scraping websites and to get information. I decided to get info on NIKE products from https://www.nike.com/w/mens-nike-by-you-lifestyle-shoes-13jrmz6ealhznik1zy7ok. The project is capable of getting the information right from your terminal. You can view available products and their prices whenever you need
- Ruby
- HTTParty
- Nokogiri
- rspec
- rubocop
To get a local copy up and running follow these simple example steps.
- For usage ensure you have ruby installed
- Copy this link My-Scraper
- Open your terminal or command line in the folder you want the project to be
- Run the command git clone with the link you copied above
git clone https://github.com/mahbubul14/my_scraper.git
- Once you have a local copy, run bundle install to install all gemfiles in the directory
- Ruby
- Code-editor
- Open your terminal
- Enter
ruby ./bin/main.rb
in your terminal and press Enter. - Run the following command
bundle exec rspec
orrspec
in the terminal to run all tests in the directory
👤 Mahbub Alam
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page
Give a ⭐️ if you like this project!