Git Product home page Git Product logo

opendmm's Introduction

Build Status

What?

In short, given an AV's ID, OpenDMM fetch the detailed information for you.

It's a ruby gem so you can use it anywhere in you code:

irb(main):001:0> require 'opendmm'
=> true
irb(main):002:0> OpenDMM.search 'ABP-123'
=> {:actresses=>["酒井 ももか"], :code=>"ABP-123", :cover_image=>"http://www.prestige-av.com/images/corner/goods/prestige/abp/123/pb_e_abp-123.jpg", :description=>"通販限定商品!未公開映像収録DVDの特典付き商品です。本数限定となりますのでお早めにお求め下さい!!プレステージ専属女優 『酒井 ももか』 が新人泡姫に!可愛い顔で落ち着いた空間を演出して、ゆっくりとした時間の流れを作ってお客様に満足頂けるサービスをご提供!感じる個所を的確に責めて気持ち良くフィニッシュに導くシーンは見逃せません!硬くなったチ○コと交わり、夢心地で快感を堪能 してイク・・・。", :genres=>["玩具責め", "女優", "アナル舐め", "通販限定"], :label=>"ABSOLUTELY PERFECT", :maker=>"プレステージ", :movie_length=>8400, :page=>"http://www.prestige-av.com/goods/goods_detail.php?sku=ABP-123", :release_date=>#<Date: 2014-04-01 ((2456749j,0s,0n),+0s,2299161j)>, :sample_images=>["http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_0_abp-123.jpg", "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_1_abp-123.jpg", "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_2_abp-123.jpg", "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_3_abp-123.jpg", "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_4_abp-123.jpg", "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_5_abp-123.jpg", "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_6_abp-123.jpg", "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_7_abp-123.jpg"], :series=>"満足度満点ソープ", :thumbnail_image=>"http://www.prestige-av.com/images/corner/goods/prestige/abp/123/pf_p_abp-123.jpg", :title=>"酒井ももか 満足度満点新人ソープDX+未公開映像DVD付き"}

A command line tool is also provided:

$ opendmm --json 'ABP-123'
{
  "actresses": [
    "酒井 ももか"
  ],
  "code": "ABP-123",
  "cover_image": "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/pb_e_abp-123.jpg",
  "description": "通販限定商品!未公開映像収録DVDの特典付き商品です。本数限定となりますのでお早めにお求め下さい!!プレステージ専属女優 『酒井 ももか』 が新人泡姫に!可愛い顔で落ち着いた空間を演出して、ゆっくりとした時間の流れを作ってお客様に満足頂けるサービスをご提供!感じる個所を的確に責めて気持ち良くフィニッシュに導くシーンは見逃せません!硬くなったチ○コと交わり、夢心地で快感を堪能してイク・・・。",
  "genres": [
    "玩具責め",
    "女優",
    "アナル舐め",
    "通販限定"
  ],
  "label": "ABSOLUTELY PERFECT",
  "maker": "プレステージ",
  "movie_length": 8400,
  "page": "http://www.prestige-av.com/goods/goods_detail.php?sku=ABP-123",
  "release_date": "2014-04-01",
  "sample_images": [
    "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_0_abp-123.jpg",
    "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_1_abp-123.jpg",
    "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_2_abp-123.jpg",
    "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_3_abp-123.jpg",
    "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_4_abp-123.jpg",
    "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_5_abp-123.jpg",
    "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_6_abp-123.jpg",
    "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/cap_e_7_abp-123.jpg"
  ],
  "series": "満足度満点ソープ",
  "thumbnail_image": "http://www.prestige-av.com/images/corner/goods/prestige/abp/123/pf_p_abp-123.jpg",
  "title": "酒井ももか 満足度満点新人ソープDX+未公開映像DVD付き"
}

Why?

DMM is the obvious choice when this kind of use cases come to your mind, which do have an API available.

Although it's widely used by many AV sites, it's not that easy to use when it comes to personal usage. Because in order to use it you have to register your site and get approval.

So I build this tool, to provide an easy-to-use alternative. It also provides more accurate result, which you can see from the "How?" section.

Where it excels?

Give these a try:

$ opendmm "S-Cute 352_kokona_02"
$ opendmm SIRO-1088
$ opendmm "Carib 021511-620"

Then try search them on DMM, or use DMM API if you have an app key.

It also provides you more detailed information than DMM if you noticed. For example, did you see the sample_images part in the example json above?

How?

How to use?

gem install opendmm

How does it work?

  1. It will try fetch information from official maker site first, which should have the most accurate and comprehensive information, for example sample images. Currently only a few makers' sites are supported, but more and more is coming.
  2. As backup, if step 1 fails. It will try several existing search engines. For now we have:

You can help

Feel free to report errors or request support for maker's site. Just file a Issue.

You can see current developing plan including makers planed to support on Trello.

License

OpenDMM is released under MIT License.

opendmm's People

Contributors

junzh0u avatar

Watchers

Li Dehua avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.