All Projects → ebeagusamuel → Ruby_Capstone

ebeagusamuel / Ruby_Capstone

Licence: MIT license
A simple web scraper built with Ruby and the Nokogiri gem. It crawls a certain website and gets the prices and other data of cryptocurrencies. Rspec was used for testing.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Ruby Capstone

Wuxiaworld-2-eBook
This Python script will download chapters from novels availaible on wuxiaworld.com saves then into the .epub format
Stars: ✭ 90 (+542.86%)
Mutual labels:  webscraper
turbo tests
Run RSpec tests on multiple cores. Like parallel_tests but with incremental summarized output. Originally extracted from the Discourse and Rubygems source code.
Stars: ✭ 81 (+478.57%)
Mutual labels:  rspec
bdd
Given/When/Then/And/But output to RSpec and Minitest
Stars: ✭ 33 (+135.71%)
Mutual labels:  rspec
fBrowser
Helpful Selenium functions to make web-scraping easier and faster
Stars: ✭ 16 (+14.29%)
Mutual labels:  webscraper
rspec-tap-formatters
TAP Producer for RSpec-3
Stars: ✭ 20 (+42.86%)
Mutual labels:  rspec
imgur downloader
Python script/class to download an entire Imgur album in one go into a folder of your choice.
Stars: ✭ 35 (+150%)
Mutual labels:  webscraper
capybara-chromedriver-logger
Enables console.log/error/info output from Javascript feature specs running with Chromedriver
Stars: ✭ 54 (+285.71%)
Mutual labels:  rspec
scraperx
Library for scraping websites or apis at any scale
Stars: ✭ 49 (+250%)
Mutual labels:  webscraper
saharspec
RSpec sugar to DRY your specs
Stars: ✭ 58 (+314.29%)
Mutual labels:  rspec
givens
Easy test setup without side effects.
Stars: ✭ 22 (+57.14%)
Mutual labels:  rspec
hipposcraper
A Linux terminal tool for parsing and scraping Holberton project pages to automate repetitive tasks.
Stars: ✭ 32 (+128.57%)
Mutual labels:  webscraper
r spec-clone.rb
A minimalist RSpec clone with all the essentials.
Stars: ✭ 38 (+171.43%)
Mutual labels:  rspec
HostPanic
Find host header injections and perform Host Header attacks with other kind of bugs like web cache poissoning
Stars: ✭ 23 (+64.29%)
Mutual labels:  webscraper
serverspec-extended-types
A set of extended types for ServerSpec 2.x
Stars: ✭ 28 (+100%)
Mutual labels:  rspec
ginkgo4j
A Java BDD Testing Framework (based on RSpec and Ginkgo)
Stars: ✭ 25 (+78.57%)
Mutual labels:  rspec
j8spec
Library that allows tests written in Java to follow the BDD style introduced by RSpec and Jasmine.
Stars: ✭ 45 (+221.43%)
Mutual labels:  rspec
mache
A library for writing cleaner and more expressive acceptance tests using page objects.
Stars: ✭ 40 (+185.71%)
Mutual labels:  rspec
fixturama
Collection of helpers for dealing with fixtures in RSpec
Stars: ✭ 33 (+135.71%)
Mutual labels:  rspec
wisper-rspec
RSpec matchers and stubbing for Wisper
Stars: ✭ 59 (+321.43%)
Mutual labels:  rspec
database plumber
Find leaky ActiveRecord models in your RSpec tests
Stars: ✭ 13 (-7.14%)
Mutual labels:  rspec

Webscrapper Built With Ruby

This is a simple web scrapper that basically crawls a website and retrives specific data from the site.

For this particular project, we will be scrapping https://coinmarketcap.com/ which is a website that provides information on different cryptocurrencies and we will be retrieving the following data:

  • Name of the cyrptocurrency
  • Market Capitalization
  • Price
  • Volume
  • Circulating supply
  • Change(%)

Screenshot from 2020-06-03 00-38-56

Built With

  • Ruby
  • Nokogiri gem
  • Open-uri gem

Prerequisites

Since all the code is written using ruby Ruby Runtime >= 1.9 ruby is required to interpret the code. if you don't have ruby runtime installed on your computer follow the instruction for your specific operating system on the official installation guide

Getting started

To get a local copy up and running follow these simple example steps.

  • Clone or download this repository to your local workstation.
  • enter the directory of the cloned project
  • run bin/controller.rb to execute the scrapper script and print out the data retrieved to the console.

Testing

For testing RSpec is used. To run test run the following command line.

rspec

Author

👤 Ebeagu Samuel

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].