opendmm

package module
v0.0.0-...-a67b85d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 14 Imported by: 0

README

OpenDMM

Build Status codecov MIT licensed Godoc Reference

This Go Librady/CLI fetches AV metadata given a code (番号).

Installation & Usage

$ go install github.com/libredmm/opendmm/cmd/opendmm
$ opendmm "SDDE-222"
{
  "Actresses": [
    "橘美穂",
    "広瀬奏",
    "なのかひより",
    "直嶋あい",
    "羽月希"
  ],
  "ActressTypes": null,
  "Categories": null,
  "Code": "SDDE-222",
  "CoverImage": "https://pics.dmm.co.jp/digital/video/1sdde00222/1sdde00222pl.jpg",
  "Description": "",
  "Directors": [
    "雄次郎"
  ],
  "Genres": [
    "企画",
    "看護婦・ナース",
    "手コキ"
  ],
  "Label": "SODクリエイト",
  "Maker": "SODクリエイト",
  "MovieLength": "117分",
  "Page": "http://www.dmm.co.jp/digital/videoa/-/detail/=/cid=1sdde00222/?i3_ref=search\u0026i3_ord=5",
  "ReleaseDate": "2010/07/08",
  "SampleImages": null,
  "Series": "(裏)手コキクリニック",
  "Tags": null,
  "ThumbnailImage": "https://pics.dmm.co.jp/digital/video/1sdde00222/1sdde00222ps.jpg",
  "Title": "(裏)手コキクリニック ~完全版~ 性交クリニック6"
}

It's also available as a library. See the CLI code for example usage.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Search = searchWithEngines([]searchEngine{
	aveEngine,
	dmmEngine,
	kvEngine,
	mgsEngine,
})

Search is the default search func with all engines

Functions

func Guess

func Guess(query string, includeVariations bool) []string

Guess possible movie codes from query string, can choose to include variations or not.

Types

type MovieMeta

type MovieMeta struct {
	Actresses      []string
	ActressTypes   []string
	Categories     []string
	Code           string
	CoverImage     string
	Description    string
	Directors      []string
	Genres         []string
	Label          string
	Maker          string
	MovieLength    string
	Page           string
	ReleaseDate    string
	SampleImages   []string
	Series         string
	Tags           []string
	ThumbnailImage string
	Title          string
}

MovieMeta contains meta data of movie

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL