{"id":28772585,"url":"https://github.com/sachin21/dmm-crawler","last_synced_at":"2025-09-12T05:41:49.575Z","repository":{"id":59152956,"uuid":"89792239","full_name":"sachin21/dmm-crawler","owner":"sachin21","description":"Fetch DMM.R18's data by crawler. Now, All arts for dojin and eroge is crawlable.","archived":false,"fork":false,"pushed_at":"2020-03-08T06:33:21.000Z","size":151,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-28T14:16:27.334Z","etag":null,"topics":["crawler","dmm","dojin","doujin","gem","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sachin21.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-29T14:54:28.000Z","updated_at":"2023-08-08T02:49:41.000Z","dependencies_parsed_at":"2022-09-13T10:50:28.977Z","dependency_job_id":null,"html_url":"https://github.com/sachin21/dmm-crawler","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/sachin21/dmm-crawler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachin21%2Fdmm-crawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachin21%2Fdmm-crawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachin21%2Fdmm-crawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachin21%2Fdmm-crawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sachin21","download_url":"https://codeload.github.com/sachin21/dmm-crawler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachin21%2Fdmm-crawler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260375259,"owners_count":22999488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crawler","dmm","dojin","doujin","gem","ruby"],"created_at":"2025-06-17T14:03:23.556Z","updated_at":"2025-09-12T05:41:49.567Z","avatar_url":"https://github.com/sachin21.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":":us: [:jp:](./doc/ja/README.md) [![Build Status](https://travis-ci.org/sachin21/dmm-crawler.svg?branch=master)](https://travis-ci.org/sachin21/dmm-crawler) ![Gem Version](https://badge.fury.io/rb/dmm-crawler.svg) [![Build Status](https://travis-ci.org/sachin21/dmm-crawler.svg?branch=master)](https://travis-ci.org/sachin21/dmm-crawler) [![Code Climate](https://codeclimate.com/github/sachin21/dmm-crawler/badges/gpa.svg)](https://codeclimate.com/github/sachin21/dmm-crawler) [![Gem](https://img.shields.io/gem/dt/dmm-crawler.svg)](https://rubygems.org/gems/dmm-crawler)\n\n# DMM Crawler\n\n## :warning: Cation :warning:\n\nFANZA does not accept crawling pages so I don't recommend to use this gem.\n\nI do not take any responsibility or liability for any damage or loss caused by mine gem.\n\n## What is DMM Crawler\n\nShow DMM and DMM.R18's crawled data. Now, All rankings for doujin is crawlable.\n\n## Installation\n\nOn your gemfile.\n\n```\ngem 'dmm-crawler'\n```\n\n## Usage\n\n### DMM.R18 Doujin Ranking\n\n```ruby\nrequire 'dmm-crawler'\n\ninclude DMMCrawler\n\nclient = Client.new do |agent|\n  agent.ignore_bad_chunking = false\nend\n\nclient.rankings(term: '24', submedia: 'cg')\n# =\u003e\n# {\n#   title: \"title\",\n#   title_link: \"title url\",\n#   image_url: \"Link to title\"s main image\",\n#   submedia: \"cg\",\n#   author: \"author\",\n#   informations: [{key: 'key', value: 'value'}],\n#   rank: '1'\n#   tags: [\"tag1\", \"tag2\"]\n# }\n```\n\nFor example, Above command will show the doujin cg 24's ranking.\n\n#### Available arguments\n\n- Arguments for the term is available to use `all, comic, cg, game, voice`.\n- Arguments for the submedia is available to use `24, weekly, monthly, total`.\n\n### From an art's URL\n\n```ruby\nrequire 'dmm-crawler'\n\ninclude DMMCrawler\n\nclient = Client.new do |agent|\n  agent.ignore_bad_chunking = false\nend\n\nURL = 'https://www.dmm.co.jp/dc/doujin/-/detail/=/cid=d_087090'\n\nclient.get_attributes(URL)\n# =\u003e\n# [\n# ...\n# ]\n```\n\nIt returns art information by Array.\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachin21%2Fdmm-crawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsachin21%2Fdmm-crawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachin21%2Fdmm-crawler/lists"}