opendmm 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/opendmm/makers/befree.rb +1 -1
- data/lib/opendmm/version.rb +1 -1
- data/test/maker_fixtures/BF-263.json +32 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7684d95b04a0090bfc703bb4239b1da20a3d5fa3
|
4
|
+
data.tar.gz: ba51c43568059cab3464426b53d6a95ebf7279eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e504f519be3defaf40450b0f040bda4ffd88ff3ef360d07972de05ad216dde350c0962bec6ad029f1d36f9ae844ec850dd78535311475ead87e3920f8bd02288
|
7
|
+
data.tar.gz: 9070547c7daff27ae5ca8616783d46e4ab5738a270c4d54b66f7ba95fb001881d7098750398c4ad4742177ea6a52f2b242f1627bd13c1d6d74fbb6e73fe02d33
|
data/README.md
CHANGED
@@ -49,7 +49,7 @@ A command line tool is also provided:
|
|
49
49
|
|
50
50
|
# Why?
|
51
51
|
|
52
|
-
[DMM](www.dmm.co.jp) is the obvious choice when this kind of use cases come to your mind, which do have an [API](https://affiliate.dmm.com/api/reference/r18/all/) available.
|
52
|
+
[DMM](http://www.dmm.co.jp) is the obvious choice when this kind of use cases come to your mind, which do have an [API](https://affiliate.dmm.com/api/reference/r18/all/) available.
|
53
53
|
|
54
54
|
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.
|
55
55
|
|
@@ -77,10 +77,10 @@ It also provides you more detailed information than DMM if you noticed. For exam
|
|
77
77
|
|
78
78
|
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.
|
79
79
|
2. As backup, if step 1 fails. It will try several existing search engines. For now we have:
|
80
|
-
* [JavLibrary](www.javlibrary.com)
|
81
|
-
* [DMM](www.dmm.co.jp)
|
82
|
-
* [MGStage](www.mgstage.com)
|
83
|
-
* [AvEntertainments](www.aventertainments.com)
|
80
|
+
* [JavLibrary](http://www.javlibrary.com)
|
81
|
+
* [DMM](http://www.dmm.co.jp)
|
82
|
+
* [MGStage](http://www.mgstage.com)
|
83
|
+
* [AvEntertainments](http://www.aventertainments.com)
|
84
84
|
|
85
85
|
# You can help
|
86
86
|
|
@@ -11,7 +11,7 @@ def self.parse_product_html(html)
|
|
11
11
|
specs = Utils.hash_from_dl(html.css('#right-navi > dl')).merge(
|
12
12
|
Utils.hash_by_split(html.xpath('//*[@id="right-navi"]/div[1]/p[2]').map(&:text)))
|
13
13
|
{
|
14
|
-
actresses: html.css('#content > div.main > section > p.actress
|
14
|
+
actresses: html.css('#content > div.main > section > p.actress').text.split(/:|\s/)[1..-1],
|
15
15
|
cover_image: html.at_css('#content > div.main > section > div.package > img')['src'],
|
16
16
|
description: html.css('#content > div.main > section > p.comment').text,
|
17
17
|
directors: specs['監督:'].text.split,
|
data/lib/opendmm/version.rb
CHANGED
@@ -0,0 +1,32 @@
|
|
1
|
+
{
|
2
|
+
"actresses": [
|
3
|
+
"愛乃なみ"
|
4
|
+
],
|
5
|
+
"code": "BF-263",
|
6
|
+
"cover_image": "http://befreebe.com/images/works/bf263/bf263pm.jpg",
|
7
|
+
"description": "‘ホテルでの個人撮影会に美人レースクィーンが現れる’そんな噂を聞いた監督は早速連絡先を聞き、約束をとりつける。そして撮影会当日。やってきた噂の美人レースクィーン‘なみ’と二人きりであやしい雰囲気になり…",
|
8
|
+
"directors": [
|
9
|
+
"NAKIBESO"
|
10
|
+
],
|
11
|
+
"genres": [
|
12
|
+
"レースクィーン"
|
13
|
+
],
|
14
|
+
"maker": "BeFree",
|
15
|
+
"movie_length": 9000,
|
16
|
+
"page": "http://befreebe.com/works/bf/bf263.html",
|
17
|
+
"release_date": "2013-08-07",
|
18
|
+
"sample_images": [
|
19
|
+
"http://befreebe.com/images/works/bf263/bf263jp-01.jpg",
|
20
|
+
"http://befreebe.com/images/works/bf263/bf263jp-02.jpg",
|
21
|
+
"http://befreebe.com/images/works/bf263/bf263jp-03.jpg",
|
22
|
+
"http://befreebe.com/images/works/bf263/bf263jp-04.jpg",
|
23
|
+
"http://befreebe.com/images/works/bf263/bf263jp-05.jpg",
|
24
|
+
"http://befreebe.com/images/works/bf263/bf263jp-06.jpg",
|
25
|
+
"http://befreebe.com/images/works/bf263/bf263jp-07.jpg",
|
26
|
+
"http://befreebe.com/images/works/bf263/bf263jp-08.jpg",
|
27
|
+
"http://befreebe.com/images/works/bf263/bf263jp-09.jpg",
|
28
|
+
"http://befreebe.com/images/works/bf263/bf263jp-10.jpg"
|
29
|
+
],
|
30
|
+
"thumbnail_image": "http://befreebe.com/images/works/bf263/bf263pm.jpg",
|
31
|
+
"title": "RACEQUEENNAMI 〜流出!現役GカップレースクィーンのプライベートSEX〜"
|
32
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opendmm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jun Zhou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -200,6 +200,7 @@ files:
|
|
200
200
|
- test/maker_fixtures/BBI-104.json
|
201
201
|
- test/maker_fixtures/BEB-001.json
|
202
202
|
- test/maker_fixtures/BF-175.json
|
203
|
+
- test/maker_fixtures/BF-263.json
|
203
204
|
- test/maker_fixtures/BID-017.json
|
204
205
|
- test/maker_fixtures/BIJN-006.json
|
205
206
|
- test/maker_fixtures/BLK-049.json
|
@@ -403,6 +404,7 @@ test_files:
|
|
403
404
|
- test/maker_fixtures/BBI-104.json
|
404
405
|
- test/maker_fixtures/BEB-001.json
|
405
406
|
- test/maker_fixtures/BF-175.json
|
407
|
+
- test/maker_fixtures/BF-263.json
|
406
408
|
- test/maker_fixtures/BID-017.json
|
407
409
|
- test/maker_fixtures/BIJN-006.json
|
408
410
|
- test/maker_fixtures/BLK-049.json
|