Ruby4Misawa
About
A scraping library for 地獄のミサワ
This is not compatible with old version.
Installation
add this line to your Gemfile.
gem 'Ruby4Misawa'
or
$ gem install Ruby4Misawa
Usage
cid
require 'Ruby4Misawa'
misawa = Misawa.new(32)
misawa.scrape ##> [{ :image => ..., :title => ..., :date => ..., :identifier => ..., :body => ... }, ...]
name
require 'Ruby4Misawa'
misawa = Misawa.new("あつしさん")
misawa.scrape ##> [{ :image => ..., :title => ..., :date => ..., :identifier => ..., :body => ... }, ...]
designating page numebr
require 'Ruby4Misawa'
misawa = Misawa.new("あつしさん", 2)
misawa.scrape ##> [{ :image => ..., :title => ..., :date => ..., :identifier => ..., :body => ... }, ...]
Contributing
- fork the project.
- create your feature branch. (
git checkout -b my-feature
) - commit your changes. (
git commit -am 'commit message.'
) - push to the branch. (
git push origin my-feature
) - send pull request.
License
MIT