Web scraper project for Microverse Ruby Capstone
This project demonstrates an example of Web scraping by retrieving data from the info.lt webpage and presenting it to the user.
The Scraper presents retrieved data to the user depended on their selection or response :
-
Choice 1 : User need's to choose to run scraper or not
-
Choice 2 : Choose what info they want to get - All lawyers info or just a names, addresses, website links or working times.
Choices Choice to show lawyers names This scraper can run on your computer or online.
- You should have Ruby installed on your computer.
- Your computer should be able to run
terminal
orcommand prompt
orbash
orPowershell
commands.
-
Run this command
git clone https://github.com/visva-dev/Microverse-Ruby-Capstone.git
in the desired folder to clone the repository on to your local machine. After cloning the project, you should cd into the directory where the code is stored & nevigate into bin older usingcd bin
-
Then run to following command install the necessary dependencies
bundle install
- And last command to run the scraper
ruby bin/main.rb
- And you should see a welcome message indicating the scraper has opened and ready for work, follow the instructions and you will get data which you need.
- click the following link Scraper's link
- When the link has been opened, click the
green run button
you will see at the top to run the Scraper.
Click the following link to see Video presentation of the project.
When you are in Microverse-Ruby-Capstone
folder, open your terminal & run rspec
program will run tests for this project.
- Ruby
- Nokogiri Gem
- Rspec
👤 Visvaldas Rapalis
- Github: @visva-dev
- Twitter: @Visva_Dev
- Linkedin: @Visvaldas-Rapalis
Give a ⭐️ if you like this project!
- This project was inspired by the Microverse program
This project is MIT licensed.