History Scraper (Ruby)
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
-
Add the gem
history_scraperto yourGemfile(or rungem install history_scraper) -
Add this to your code:
require 'history_scraper'
scrap_year('dir/which/will/store/the/results.json')- Run your code (The algorithm may take a while to finish).
Contributing
- Fork this repository
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'add my feature') - Push to your feature branch (
git push origin my-new-feature) - Create a new Pull Request