Skip to content

About

Web Scraper - Final project of Ruby section inside Microverse's course - Project built to get all information related to the products inside Disney Store website. Information of the search is exported into a CSV file.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

69 Commits

Folders and files

Repository files navigation

Ruby Capstone Project

This is the Ruby's Capstone project for Microverse. This project creates a web scraper built-up with Ruby

What it does

With this program built with Ruby, you can access data from Disney's online shop, retrieving a list of all products and their prices. You will not lose more time navigating through the website; the products are listed on your terminal and stored in a separate CSV file for each search.

Screenshots

screenshot screenshot

Project Structure

├── README.md
├── bin
│   └── main.rb
└── lib
    └── bot.rb
    └── export.rb
└── rspec
    └── main_spec.rb
    └── bot_spec.rb
    └── spec_helper.rb

Built With

  • Ruby
  • Nokogiri gem
  • HTTParty gem

Prerequisites

  • Get Ruby latest version.
  • You can check your version typing 'ruby -v' on your terminal

Install

  • Git clone this repo and cd the to the directory.
  • Run bundle install in command line to install Nokogiri and HTTParty Gem.
  • Run 'ruby ./bin/main.rb'.

Getting Started

  • Once you have cloned the repo and run 'ruby ./bin/main.rb' you will be able to add as many keywords ( space-separated ) as you wish to get the results from Disney's online shop.

Run tests

  • Git clone this repo and cd the to the repositories folder.
  • Install rspec with gem install rspec.
  • Run rspec in Command Line.
  • 3 examples, 0 failures will be shown on the screen.

Future features

  • Add different pages to scratch

Author

👤 Javier Oriol Correas Sanchez Cuesta

🤝 Contributing

Contributions, issues and feature requests are welcome! Start by:

  • Forking the project.
  • Cloning the project to your local machine.
  • cd into the project directory.
  • Run git checkout -b your-branch-name.
  • Make your contributions.
  • Push your branch up to your forked repository.
  • Open a Pull Request with a detailed description to the development branch of the original project for a review.

Video Presentation

  • Feel free to check out this link with a full project explanation.

Attributions and Credit 🚀

  • Microverse
  • Disney
  • HTTParty Gem
  • Nokogiri Gem

Show your support

Give a ⭐️ if you like this project!

📝 License

Check out my stories on Medium to see what I'm talking about! Follow me on Linkedin and Twitter to see what I am up to!

Enjoy!

About

Web Scraper - Final project of Ruby section inside Microverse's course - Project built to get all information related to the products inside Disney Store website. Information of the search is exported into a CSV file.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages