opendmm 0.3.17 → 0.3.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 628fac2e2d4f78a03156e41398c5f1bb4976fcb1
4
- data.tar.gz: a800db6b66d881b91cc497caf7a3ed58e5afa1c8
3
+ metadata.gz: d306547099855f9e70912d11ef1656b5e3db3249
4
+ data.tar.gz: 4de5cfd42715db9c995b9f0a411fb178a0580093
5
5
  SHA512:
6
- metadata.gz: ebf6d663b70ffbbf8907c70a9e1f808987e88a2bfd7bc56dca8ae253653016ccc6c052fe2e35234b3d68a390dbf2193111e703251722e5adf0848101ec4d92b3
7
- data.tar.gz: 37c9786b9339a8c06ce90119a913515fb2398a60e800491810796b7ba74764682a6d1ad4d3c2c09613bfa1e85d9a54e1b116d839069a276bf36d75fdff1c155e
6
+ metadata.gz: b674536af514996dcb26e1ad6ad8fbd8897a5777c5c93c5a6acb47cc47d3836df67320c66632c8114ca58b2766ea13ac83ca8a7c17a628b1e6f120e8a36ab3af
7
+ data.tar.gz: 81925bd8a2406ed335eb08f1ec57f8600756471455a51aa382d07b763fa5f199afe02c3116feefe425f0aac32655dc421d005e396494fe6a9f3ac9cbe40476b9
@@ -0,0 +1,59 @@
1
+ base_uri 'www.g-area.org'
2
+
3
+ register_product(
4
+ /^Perfect[-_\s]G\s+?le_(\w+)$/i,
5
+ '/sample_le/le_#{$1.downcase}/spalc_gallery.php',
6
+ 'Perfect-G #{$1.downcase} Dolce'
7
+ )
8
+
9
+ register_product(
10
+ /^Perfect[-_\s]G\s+Docle\s+(\w+)$/i,
11
+ '/sample_le/le_#{$1.downcase}/spalc_gallery.php',
12
+ 'Perfect-G #{$1.downcase} Dolce'
13
+ )
14
+
15
+ register_product(
16
+ /^Perfect[-_\s]G\s+(\w+)\s+Docle$/i,
17
+ '/sample_le/le_#{$1.downcase}/spalc_gallery.php',
18
+ 'Perfect-G #{$1.downcase} Dolce'
19
+ )
20
+
21
+ register_product(
22
+ /^Perfect[-_\s]G\s+(?!le_)(\w+)$/i,
23
+ '/sample_pg/#{$1.downcase}/spgallery.php',
24
+ 'Perfect-G #{$1.downcase}'
25
+ )
26
+
27
+ private
28
+
29
+ def self.parse_product_html(html)
30
+ {
31
+ actresses: [ html.css('div.co_ww > div.prof_dat > div.p_name').text[/(?<=-).*(?=-)/] ],
32
+ # brand: String
33
+ # categories: Array
34
+ cover_image: html.at_css('div.co_ww > div.prof_img > div.pro_imb > div.prof_big > div > img').try(:[], 'src'),
35
+ description: html.css('div.co_ww > div.prof_img > div.prof_cap').text,
36
+ # directors: Array
37
+ # genres: Array
38
+ # label: String
39
+ maker: 'Perfect-G',
40
+ movie_length: html.css('div.co_ww > div.prof_dat > div.p_mov').text,
41
+ # release_date: String
42
+ sample_images: html.css('div.co_ww > div.prof_img > div.pro_imb div.sml_img_w > div.sml_img > img').map { |img| img['src'] },
43
+ # scenes: Array
44
+ # series: String
45
+ # subtitle: String
46
+ # theme: String
47
+ thumbnail_image: html.at_css('div.co_ww > div.prof_img > div.pro_imb > div.prof_big > div > img').try(:[], 'src'),
48
+ title: html.css('div.co_ww > div.prof_dat > div.p_name').text[/(?<=-).*(?=-)/],
49
+ }
50
+ end
51
+
52
+ def self.product_extra_info(name, url, page, html)
53
+ code = product_code(name)
54
+ code = code[/(?<=Perfect-G ).*/]
55
+ extra_info = Hash.new
56
+ extra_info[:thumbnail_image] = "/img/main/#{code}_320_180.jpg"
57
+ extra_info[:cover_image] = extra_info[:thumbnail_image]
58
+ extra_info
59
+ end
@@ -0,0 +1,41 @@
1
+ base_uri 'www.tokyo-247.net'
2
+
3
+ register_product(
4
+ /^Tokyo[-_\s]247\s+?(\w+)$/i,
5
+ '/ms/#{$1.downcase}/contents.php',
6
+ 'Tokyo 247 #{$1.downcase}'
7
+ )
8
+
9
+ private
10
+
11
+ def self.parse_product_html(html)
12
+ {
13
+ actresses: [ html.css('div.models_head > div.pro_right > div > div.modelname').text ],
14
+ # brand: String
15
+ # categories: Array
16
+ # cover_image: String
17
+ description: html.css('div.models_head > div.pro_right > div > div:nth-child(3)').text,
18
+ # directors: Array
19
+ # genres: Array
20
+ # label: String
21
+ maker: 'Tokuyo 247',
22
+ # movie_length: String
23
+ # release_date: String
24
+ sample_images: html.xpath('/html/body/div[3]/div[1]/div[1]/div[6]').css('div.pict_area > ol > li > a > img').map { |img| img['src'].remove(/s(?=\.jpg$)/) },
25
+ # scenes: Array
26
+ # series: String
27
+ # subtitle: String
28
+ # theme: String
29
+ # thumbnail_image: String
30
+ title: html.css('div.models_head > div.pro_right > div > div.modelname').text,
31
+ }
32
+ end
33
+
34
+ def self.product_extra_info(name, url, page, html)
35
+ code = product_code(name)
36
+ code = code[/(?<=Tokyo 247 ).*/]
37
+ extra_info = Hash.new
38
+ extra_info[:thumbnail_image] = "/ms/gallery_parts/#{code}_1.jpg"
39
+ extra_info[:cover_image] = extra_info[:thumbnail_image]
40
+ extra_info
41
+ end
data/lib/opendmm/utils.rb CHANGED
@@ -26,6 +26,8 @@ end
26
26
  class << ChronicDuration
27
27
  def parse_with_chinese_support(str)
28
28
  case str
29
+ when /(\d+)\s*分\s*(\d+)\s*秒/
30
+ return $1.to_i.minutes + $2.to_i.seconds
29
31
  when /(\d+)(\s*)分/
30
32
  return $1.to_i.minutes
31
33
  else
@@ -1,3 +1,3 @@
1
1
  module OpenDMM
2
- VERSION = '0.3.17'
2
+ VERSION = '0.3.18'
3
3
  end
@@ -0,0 +1,18 @@
1
+ {
2
+ "actresses": [
3
+ "めい"
4
+ ],
5
+ "code": "Perfect-G 430mei",
6
+ "cover_image": "http://www.g-area.org/img/main/430mei_320_180.jpg",
7
+ "description": "美肌が自慢な美乳大学生。好奇心真っ盛りで子供っぽい一面を持つ彼女ですがあっちのほうは変に開発された模様で「お尻ペンペンされたい」と、Mっ娘発言。序盤では大量の潮吹きに恥じらい、可愛い声で喘ぐ彼女ですが、スパンキングで変貌し、快楽の底へと突き進み首絞めファックでさらなる渦へと引き込まれていくのでした。",
8
+ "maker": "Perfect-G",
9
+ "movie_length": 4694,
10
+ "page": "http://www.g-area.org/sample_pg/430mei/spgallery.php",
11
+ "sample_images": [
12
+ "http://www.g-area.com/img/sub/430mei1_150_84.jpg",
13
+ "http://www.g-area.com/img/sub/430mei2_150_84.jpg",
14
+ "http://www.g-area.com/img/sub/430mei3_150_84.jpg"
15
+ ],
16
+ "thumbnail_image": "http://www.g-area.org/img/main/430mei_320_180.jpg",
17
+ "title": "めい"
18
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "actresses": [
3
+ "ゆうか"
4
+ ],
5
+ "code": "Perfect-G 481yuuka",
6
+ "cover_image": "http://www.g-area.com/img/main/481yuuka_320_180.jpg",
7
+ "description": "自分の事を能天気と言い放つ自由奔放な専門学生。Hにはかなり貪欲で生理期間が終わってすぐ駆けつけて来たそうw。ハズカシ照れ照れでしたがキスですぐに欲情し、言葉責めで濡れ濡れなパイパン。スパンキング、ローター、目隠しバイブ、電マ、潮吹きと幾度も絶頂を繰り返し、征服したかと思いましたが、フェラチオでS的責めを展開されます。挿入になるとM丸出し雌犬ファック。責め受けの攻防戦を激しく繰り返した末に大量顔射!…顔に出されるのはお好みではなかったようです。",
8
+ "maker": "Perfect-G",
9
+ "movie_length": 2189,
10
+ "page": "http://www.g-area.org/sample_pg/481yuuka/spgallery.php",
11
+ "sample_images": [
12
+ "http://www.g-area.com/img/sub/481yuuka1_150_84.jpg",
13
+ "http://www.g-area.com/img/sub/481yuuka2_150_84.jpg",
14
+ "http://www.g-area.com/img/sub/481yuuka3_150_84.jpg",
15
+ "http://www.g-area.com/img/sub/481yuuka4_150_84.jpg"
16
+ ],
17
+ "thumbnail_image": "http://www.g-area.com/img/main/481yuuka_320_180.jpg",
18
+ "title": "ゆうか"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "actresses": [
3
+ "よりこ2"
4
+ ],
5
+ "code": "Perfect-G yoriko2 Dolce",
6
+ "cover_image": "http://www.g-area.com/img/main/alc_yoriko2_320_180.jpg",
7
+ "description": "正統派美少女の専門学生。前回のコスプレ変化と趣向を変えて鎌倉へぶらりと。2回目とあって緊張よりも期待感ワクワクで今日は濃厚なHがしたいそうなので、前回よりも念入りに愛撫を敢行。ハメてると中出し懇願され濃厚中出しフィニッシュ! 顔よりも中に出されるのが好きな女の子でした。",
8
+ "maker": "Perfect-G",
9
+ "movie_length": 5730,
10
+ "page": "http://www.g-area.org/sample_le/le_yoriko2/spalc_gallery.php",
11
+ "sample_images": [
12
+ "http://www.g-area.com/img/sub/alc_yoriko21_150_84.jpg",
13
+ "http://www.g-area.com/img/sub/alc_yoriko22_150_84.jpg",
14
+ "http://www.g-area.com/img/sub/alc_yoriko23_150_84.jpg",
15
+ "http://www.g-area.com/img/sub/alc_yoriko24_150_84.jpg"
16
+ ],
17
+ "thumbnail_image": "http://www.g-area.com/img/main/alc_yoriko2_320_180.jpg",
18
+ "title": "よりこ2"
19
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "actresses": [
3
+ "くみえ"
4
+ ],
5
+ "code": "Perfect-G kumie",
6
+ "cover_image": "http://www.g-area.org/img/main/kumie_320_180.jpg",
7
+ "description": "ロリ巨乳なメイド喫茶店員。巨尻にクビレ、Fカップ巨乳のグラマラスボディと反則的で刺激的な女の子で浮気防止の為かパイパンにされたアソコが性欲をそそり、ちょっと怯えたような表情もかなりGOODです。オッパイとクリが敏感で特にクリへのローター責めは必見です!その後AKBコスでたんまりと楽しみました。",
8
+ "maker": "Perfect-G",
9
+ "movie_length": 5407,
10
+ "page": "http://www.g-area.org/sample_pg/kumie/spgallery.php",
11
+ "sample_images": [
12
+ "http://www.g-area.com/img/sub/kumie1_150_84.jpg",
13
+ "http://www.g-area.com/img/sub/kumie2_150_84.jpg",
14
+ "http://www.g-area.com/img/sub/kumie3_150_84.jpg"
15
+ ],
16
+ "thumbnail_image": "http://www.g-area.org/img/main/kumie_320_180.jpg",
17
+ "title": "くみえ"
18
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "actresses": [
3
+ "よりこ2"
4
+ ],
5
+ "code": "Perfect-G yoriko2 Dolce",
6
+ "cover_image": "http://www.g-area.com/img/main/alc_yoriko2_320_180.jpg",
7
+ "description": "正統派美少女の専門学生。前回のコスプレ変化と趣向を変えて鎌倉へぶらりと。2回目とあって緊張よりも期待感ワクワクで今日は濃厚なHがしたいそうなので、前回よりも念入りに愛撫を敢行。ハメてると中出し懇願され濃厚中出しフィニッシュ! 顔よりも中に出されるのが好きな女の子でした。",
8
+ "maker": "Perfect-G",
9
+ "movie_length": 5730,
10
+ "page": "http://www.g-area.org/sample_le/le_yoriko2/spalc_gallery.php",
11
+ "sample_images": [
12
+ "http://www.g-area.com/img/sub/alc_yoriko21_150_84.jpg",
13
+ "http://www.g-area.com/img/sub/alc_yoriko22_150_84.jpg",
14
+ "http://www.g-area.com/img/sub/alc_yoriko23_150_84.jpg",
15
+ "http://www.g-area.com/img/sub/alc_yoriko24_150_84.jpg"
16
+ ],
17
+ "thumbnail_image": "http://www.g-area.com/img/main/alc_yoriko2_320_180.jpg",
18
+ "title": "よりこ2"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "actresses": [
3
+ "よりこ2"
4
+ ],
5
+ "code": "Perfect-G yoriko2 Dolce",
6
+ "cover_image": "http://www.g-area.com/img/main/alc_yoriko2_320_180.jpg",
7
+ "description": "正統派美少女の専門学生。前回のコスプレ変化と趣向を変えて鎌倉へぶらりと。2回目とあって緊張よりも期待感ワクワクで今日は濃厚なHがしたいそうなので、前回よりも念入りに愛撫を敢行。ハメてると中出し懇願され濃厚中出しフィニッシュ! 顔よりも中に出されるのが好きな女の子でした。",
8
+ "maker": "Perfect-G",
9
+ "movie_length": 5730,
10
+ "page": "http://www.g-area.org/sample_le/le_yoriko2/spalc_gallery.php",
11
+ "sample_images": [
12
+ "http://www.g-area.com/img/sub/alc_yoriko21_150_84.jpg",
13
+ "http://www.g-area.com/img/sub/alc_yoriko22_150_84.jpg",
14
+ "http://www.g-area.com/img/sub/alc_yoriko23_150_84.jpg",
15
+ "http://www.g-area.com/img/sub/alc_yoriko24_150_84.jpg"
16
+ ],
17
+ "thumbnail_image": "http://www.g-area.com/img/main/alc_yoriko2_320_180.jpg",
18
+ "title": "よりこ2"
19
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "actresses": [
3
+ "波多野結衣"
4
+ ],
5
+ "code": "Tokyo 247 371yui",
6
+ "cover_image": "http://www.tokyo-247.net/ms/gallery_parts/371yui_1.jpg",
7
+ "description": "今までさんざん巨乳は見てきましたが、ここまでカタチの良い美巨乳は見たことあったかなというレベルの波多野結衣ちゃん。流石は現役モデル、ケタが違います! 見た目はスラッとしていますが、肌の肉感は思った以上に柔らか。 ツンとしたお姉さんの様な外見とは裏腹に、実は真逆というギャップがとても可愛らしい彼女。感じ過ぎると涙が出てきちゃうちょっぴりセンチな女の子。時間が経つにすれて、段々ほぐれていく彼女の表情がとても印象的でした。",
8
+ "maker": "Tokuyo 247",
9
+ "page": "http://www.tokyo-247.net/ms/371yui/contents.php",
10
+ "sample_images": [
11
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui1_1.jpg",
12
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui1_2.jpg",
13
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui1_3.jpg",
14
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui2_1.jpg",
15
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui2_2.jpg",
16
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui2_3.jpg",
17
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui3_1.jpg",
18
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui3_2.jpg",
19
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui3_3.jpg",
20
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui4_1.jpg",
21
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui4_2.jpg",
22
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui4_3.jpg",
23
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui5_1.jpg",
24
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui5_2.jpg",
25
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui5_3.jpg",
26
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui6_1.jpg",
27
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui6_2.jpg",
28
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui6_3.jpg",
29
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui7_1.jpg",
30
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui7_2.jpg",
31
+ "http://www.tokyo-247.net/ms/371yui/m_thumbnail/cp_371yui7_3.jpg"
32
+ ],
33
+ "thumbnail_image": "http://www.tokyo-247.net/ms/gallery_parts/371yui_1.jpg",
34
+ "title": "波多野結衣"
35
+ }
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.17
4
+ version: 0.3.18
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-13 00:00:00.000000000 Z
11
+ date: 2014-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -143,6 +143,7 @@ files:
143
143
  - lib/opendmm/makers/dmm_collection.rb
144
144
  - lib/opendmm/makers/doc.rb
145
145
  - lib/opendmm/makers/ebody.rb
146
+ - lib/opendmm/makers/g_area.rb
146
147
  - lib/opendmm/makers/high_scene.rb
147
148
  - lib/opendmm/makers/ideapocket.rb
148
149
  - lib/opendmm/makers/kawaii.rb
@@ -161,6 +162,7 @@ files:
161
162
  - lib/opendmm/makers/sod.rb
162
163
  - lib/opendmm/makers/tameikegoro.rb
163
164
  - lib/opendmm/makers/to_satsu.rb
165
+ - lib/opendmm/makers/tokyo_247.rb
164
166
  - lib/opendmm/makers/waap.rb
165
167
  - lib/opendmm/search_engine.rb
166
168
  - lib/opendmm/search_engines/av_entertainments.rb
@@ -312,6 +314,12 @@ files:
312
314
  - test/maker_fixtures/PTV-001.json
313
315
  - test/maker_fixtures/PXD-024.json
314
316
  - test/maker_fixtures/PXD-027.json
317
+ - test/maker_fixtures/Perfect-G 430mei.json
318
+ - test/maker_fixtures/Perfect-G 481yuuka.json
319
+ - test/maker_fixtures/Perfect-G Docle yoriko2.json
320
+ - test/maker_fixtures/Perfect-G kumie.json
321
+ - test/maker_fixtures/Perfect-G le_yoriko2.json
322
+ - test/maker_fixtures/Perfect-G yoriko2 Docle.json
315
323
  - test/maker_fixtures/RAW-005.json
316
324
  - test/maker_fixtures/RBD-183.json
317
325
  - test/maker_fixtures/RDT-190.json
@@ -349,6 +357,7 @@ files:
349
357
  - test/maker_fixtures/TMVI-042.json
350
358
  - test/maker_fixtures/TRD-062.json
351
359
  - test/maker_fixtures/TYOD-232.json
360
+ - test/maker_fixtures/Tokyo 247 371yui.json
352
361
  - test/maker_fixtures/ULT-013.json
353
362
  - test/maker_fixtures/URE-011.json
354
363
  - test/maker_fixtures/VVP-001.json
@@ -531,6 +540,12 @@ test_files:
531
540
  - test/maker_fixtures/PTV-001.json
532
541
  - test/maker_fixtures/PXD-024.json
533
542
  - test/maker_fixtures/PXD-027.json
543
+ - test/maker_fixtures/Perfect-G 430mei.json
544
+ - test/maker_fixtures/Perfect-G 481yuuka.json
545
+ - test/maker_fixtures/Perfect-G Docle yoriko2.json
546
+ - test/maker_fixtures/Perfect-G kumie.json
547
+ - test/maker_fixtures/Perfect-G le_yoriko2.json
548
+ - test/maker_fixtures/Perfect-G yoriko2 Docle.json
534
549
  - test/maker_fixtures/RAW-005.json
535
550
  - test/maker_fixtures/RBD-183.json
536
551
  - test/maker_fixtures/RDT-190.json
@@ -568,6 +583,7 @@ test_files:
568
583
  - test/maker_fixtures/TMVI-042.json
569
584
  - test/maker_fixtures/TRD-062.json
570
585
  - test/maker_fixtures/TYOD-232.json
586
+ - test/maker_fixtures/Tokyo 247 371yui.json
571
587
  - test/maker_fixtures/ULT-013.json
572
588
  - test/maker_fixtures/URE-011.json
573
589
  - test/maker_fixtures/VVP-001.json