https://github.com/tahanima/quotes-scraper
Scrapes quotes and the names of their authors from the site - http://quotes.toscrape.com/
https://github.com/tahanima/quotes-scraper
quotes ruby selenium-ruby selenium-webdriver web-scraper
Last synced: 16 days ago
JSON representation
Scrapes quotes and the names of their authors from the site - http://quotes.toscrape.com/
- Host: GitHub
- URL: https://github.com/tahanima/quotes-scraper
- Owner: Tahanima
- Created: 2020-08-25T15:19:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-25T15:59:48.000Z (over 4 years ago)
- Last Synced: 2025-04-11T00:43:43.684Z (16 days ago)
- Topics: quotes, ruby, selenium-ruby, selenium-webdriver, web-scraper
- Language: Ruby
- Homepage:
- Size: 8.79 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# quotes-scraper
This project aims to extract the quotes and the names of their authors from the [Quotes to Scrape](http://quotes.toscrape.com/) site.## Tools Used
* **Ruby** as the programming language
* **Selenium WebDriver** as the mechanism for navigation to web pages and extraction of data## Usage
Prerequisites: installation of [Ruby](https://www.ruby-lang.org/en/downloads/) and [Bundler](https://bundler.io/)On the project root, run the following commands from your terminal:
1. `bundle install`
2. `ruby scraper.rb`
A csv file will be generated containing the results. [Note: The project already contains a sample generated csv file. Feel free to delete it prior to running the above commands.]