Skip to content

sasalatart/history-scraper-rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

History Scraper (Ruby)

Gem Version Code Climate License: MIT

About

Scraper that searches for events, births and deaths that occurred during a specific day of history from Wikipedia.

You may check out the js package version here.

Usage

  1. Add the gem history_scraper to your Gemfile (or run gem install history_scraper)

  2. Add this to your code:

  require 'history_scraper'

  scrap_year('dir/which/will/store/the/results.json')
  1. Run your code (The algorithm may take a while to finish).

Contributing

  1. Fork this repository
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'add my feature')
  4. Push to your feature branch (git push origin my-new-feature)
  5. Create a new Pull Request

Releases

No releases published

Packages

No packages published

Languages