:us: :jp: Build Status Gem Version Build Status Code Climate Gem

DMM Crawler

What is DMM Crawler

Show DMM and DMM.R18's crawled data. Now, All rankings for doujin is crawlable.

Installation

On your gemfile.

gem 'dmm-crawler'

Usage

From the bot in invited Slack's room.

require 'dmm-crawler'

include DMMCrawler

Ranking.new(term: '24', submedia: 'cg').arts

# =>
# {
#   title: "title",
#   url: 'URL for title',
#   image_url: 'Link to title's main image',
#   tags: ['tag1', 'tag2']
# }

For example, Above command will show the doujin cg 24's ranking.

Available arguments

  • Arguments for the term is able to use all, comic, cg, game, voice.
  • Arguments for the submedia is able to use 24, weekly, monthly, total.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request