opendmm 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/opendmm.rb +1 -1
- data/lib/opendmm/makers/ideapocket.rb +28 -0
- data/lib/opendmm/makers/premium.rb +26 -0
- data/lib/opendmm/{search_engines_broken → search_engines}/mgstage.rb +7 -18
- data/lib/opendmm/version.rb +1 -1
- data/test/fixture_test.rb +1 -1
- data/test/maker_fixtures/IDBD-447.json +31 -0
- data/test/maker_fixtures/IPSD-041.json +38 -0
- data/test/maker_fixtures/IPTD-464.json +34 -0
- data/test/maker_fixtures/IPTD-629.json +31 -0
- data/test/maker_fixtures/IPZ-005.json +33 -0
- data/test/maker_fixtures/PBD-134.json +33 -0
- data/test/maker_fixtures/PGD-306.json +33 -0
- data/test/maker_fixtures/PJD-085.json +30 -0
- data/test/maker_fixtures/PTV-001.json +29 -0
- data/test/maker_fixtures/PXD-024.json +31 -0
- data/test/maker_fixtures/PXD-027.json +37 -0
- data/test/maker_fixtures/SUPD-065.json +40 -0
- data/test/{mgstage_fixtures_broken → mgstage_fixtures}/SIRO-1088.json +0 -0
- metadata +31 -35
- data/lib/opendmm/makers_broken/ideapocket.rb +0 -49
- data/lib/opendmm/makers_broken/premium.rb +0 -27
- data/test/maker_fixtures_broken/IDBD-447.json +0 -32
- data/test/maker_fixtures_broken/IPSD-041.json +0 -40
- data/test/maker_fixtures_broken/IPTD-464.json +0 -35
- data/test/maker_fixtures_broken/IPTD-629.json +0 -32
- data/test/maker_fixtures_broken/IPZ-005.json +0 -35
- data/test/maker_fixtures_broken/PBD-134.json +0 -30
- data/test/maker_fixtures_broken/PGD-306.json +0 -35
- data/test/maker_fixtures_broken/PJD-085.json +0 -33
- data/test/maker_fixtures_broken/PTV-001.json +0 -29
- data/test/maker_fixtures_broken/PXD-024.json +0 -34
- data/test/maker_fixtures_broken/PXD-027.json +0 -39
- data/test/maker_fixtures_broken/SUPD-065.json +0 -41
- data/test/mgstage_fixtures_broken/011OAM-002.json +0 -19
- data/test/mgstage_fixtures_broken/siro1088.json +0 -29
@@ -0,0 +1,31 @@
|
|
1
|
+
{
|
2
|
+
"code": "PXD-024",
|
3
|
+
"cover_image": "http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024pl.jpg",
|
4
|
+
"description": "乱交AVの金字塔シリーズ第9弾、満を持してのリリース!今回はセレブでビッチなオンナたち12人がシークレットパーティーに集まり、ヤリまくる。進んで男たちを脱がし、チンポをしゃぶり、挿れ、快楽に溺れる。女同士のレズ、トイレで放尿シーンも追跡。高貴な館で繰り広げられる性の宴、圧倒的な臨場感で贈る自信作!",
|
5
|
+
"genres": [
|
6
|
+
"乱交",
|
7
|
+
"集団"
|
8
|
+
],
|
9
|
+
"label": "XANADU",
|
10
|
+
"maker": "Premium",
|
11
|
+
"movie_length": 7200,
|
12
|
+
"page": "http://www.premium-beauty.com/works/-/detail/=/cid=pxd024",
|
13
|
+
"release_date": "2011-12-07",
|
14
|
+
"sample_images": [
|
15
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-01.jpg",
|
16
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-02.jpg",
|
17
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-03.jpg",
|
18
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-04.jpg",
|
19
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-05.jpg",
|
20
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-06.jpg",
|
21
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-07.jpg",
|
22
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-08.jpg",
|
23
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-09.jpg",
|
24
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-10.jpg",
|
25
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-11.jpg",
|
26
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024jp-12.jpg"
|
27
|
+
],
|
28
|
+
"series": "JAPANESE PARTY HARDCORE",
|
29
|
+
"thumbnail_image": "http://www.premium-beauty.com/images/works/pxd/pxd024/pxd024pl.jpg",
|
30
|
+
"title": "JAPANESE PARTY HARDCORE 9"
|
31
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"actresses": [
|
3
|
+
"上原亜衣",
|
4
|
+
"大槻ひびき",
|
5
|
+
"水澤まお"
|
6
|
+
],
|
7
|
+
"code": "PXD-027",
|
8
|
+
"cover_image": "http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027pl.jpg",
|
9
|
+
"description": "上原亜衣、大槻ひびき、水澤まおの今一番凄まじい潮を吹く3人が揃い踏み!それぞれの吹きまくりセックスに、1人の男を3人で責めて潮吹きシャワーハーレム!みんなで仲良く潮を吹かせ合い、口移しで受け渡し!トドメは潮が乱れ飛びまくる大乱交!推定総量30リットル越え、どこから見ても吹きっぱなしの180分絶頂潮吹きスペシャル!",
|
10
|
+
"genres": [
|
11
|
+
"乱交",
|
12
|
+
"潮吹き",
|
13
|
+
"集団",
|
14
|
+
"blu-ray"
|
15
|
+
],
|
16
|
+
"label": "XANADU",
|
17
|
+
"maker": "Premium",
|
18
|
+
"movie_length": 10800,
|
19
|
+
"page": "http://www.premium-beauty.com/works/-/detail/=/cid=pxd027",
|
20
|
+
"release_date": "2013-06-07",
|
21
|
+
"sample_images": [
|
22
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-01.jpg",
|
23
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-02.jpg",
|
24
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-03.jpg",
|
25
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-04.jpg",
|
26
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-05.jpg",
|
27
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-06.jpg",
|
28
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-07.jpg",
|
29
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-08.jpg",
|
30
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-09.jpg",
|
31
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-10.jpg",
|
32
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-11.jpg",
|
33
|
+
"http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027jp-12.jpg"
|
34
|
+
],
|
35
|
+
"thumbnail_image": "http://www.premium-beauty.com/images/works/pxd/pxd027/pxd027pl.jpg",
|
36
|
+
"title": "トリプルV.I.Pスプラッシュ 大量潮吹き30リットルスペシャル"
|
37
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"actresses": [
|
3
|
+
"松島かえで"
|
4
|
+
],
|
5
|
+
"code": "SUPD-065",
|
6
|
+
"cover_image": "http://www.ideapocket.com/images/works/supd065/supd065pl.jpg",
|
7
|
+
"description": "遂に極上美女・松島かえでがDCに登場! なんと初めての大量ぶっかけシーンも収録!そしてまた、本作にて伝説の「しみけん」ハメ撮りも復活!絶対に見逃せない充実の8コーナーで松島かえでを完全網羅の1本です!",
|
8
|
+
"directors": [
|
9
|
+
"黒澤あらら",
|
10
|
+
"つぶやきジロー"
|
11
|
+
],
|
12
|
+
"genres": [
|
13
|
+
"女子高生",
|
14
|
+
"和服・浴衣",
|
15
|
+
"ナース・女医",
|
16
|
+
"ザーメン",
|
17
|
+
"淫語"
|
18
|
+
],
|
19
|
+
"label": "SUPREME",
|
20
|
+
"maker": "Ideapocket",
|
21
|
+
"page": "http://www.ideapocket.com/works/-/detail/=/cid=supd065",
|
22
|
+
"release_date": "2009-12-01",
|
23
|
+
"sample_images": [
|
24
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-01.jpg",
|
25
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-02.jpg",
|
26
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-03.jpg",
|
27
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-04.jpg",
|
28
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-05.jpg",
|
29
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-06.jpg",
|
30
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-07.jpg",
|
31
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-08.jpg",
|
32
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-09.jpg",
|
33
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-10.jpg",
|
34
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-11.jpg",
|
35
|
+
"http://www.ideapocket.com/images/works/supd065/supd065jp-12.jpg"
|
36
|
+
],
|
37
|
+
"series": "DIGITAL CHANNEL",
|
38
|
+
"thumbnail_image": "http://www.ideapocket.com/images/works/supd065/supd065pl.jpg",
|
39
|
+
"title": "DIGITAL CHANNEL DC65"
|
40
|
+
}
|
File without changes
|
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.4.
|
4
|
+
version: 0.4.1
|
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-11-
|
11
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -144,6 +144,7 @@ files:
|
|
144
144
|
- lib/opendmm/makers/doc.rb
|
145
145
|
- lib/opendmm/makers/ebody.rb
|
146
146
|
- lib/opendmm/makers/g_area.rb
|
147
|
+
- lib/opendmm/makers/ideapocket.rb
|
147
148
|
- lib/opendmm/makers/kawaii.rb
|
148
149
|
- lib/opendmm/makers/kira_kira.rb
|
149
150
|
- lib/opendmm/makers/madonna.rb
|
@@ -152,6 +153,7 @@ files:
|
|
152
153
|
- lib/opendmm/makers/one_pondo.rb
|
153
154
|
- lib/opendmm/makers/opera.rb
|
154
155
|
- lib/opendmm/makers/oppai.rb
|
156
|
+
- lib/opendmm/makers/premium.rb
|
155
157
|
- lib/opendmm/makers/prestige.rb
|
156
158
|
- lib/opendmm/makers/ran_maru.rb
|
157
159
|
- lib/opendmm/makers/s1.rb
|
@@ -163,14 +165,12 @@ files:
|
|
163
165
|
- lib/opendmm/makers/waap.rb
|
164
166
|
- lib/opendmm/makers/xxx.rb
|
165
167
|
- lib/opendmm/makers_broken/high_scene.rb
|
166
|
-
- lib/opendmm/makers_broken/ideapocket.rb
|
167
|
-
- lib/opendmm/makers_broken/premium.rb
|
168
168
|
- lib/opendmm/makers_broken/to_satsu.rb
|
169
169
|
- lib/opendmm/search_engine.rb
|
170
170
|
- lib/opendmm/search_engines/av_entertainments.rb
|
171
171
|
- lib/opendmm/search_engines/dmm.rb
|
172
172
|
- lib/opendmm/search_engines/jav_library.rb
|
173
|
-
- lib/opendmm/
|
173
|
+
- lib/opendmm/search_engines/mgstage.rb
|
174
174
|
- lib/opendmm/site.rb
|
175
175
|
- lib/opendmm/utils.rb
|
176
176
|
- lib/opendmm/version.rb
|
@@ -248,8 +248,13 @@ files:
|
|
248
248
|
- test/maker_fixtures/GDW-006.json
|
249
249
|
- test/maker_fixtures/HAZ-009.json
|
250
250
|
- test/maker_fixtures/HON-001.json
|
251
|
+
- test/maker_fixtures/IDBD-447.json
|
251
252
|
- test/maker_fixtures/INF-003.json
|
252
253
|
- test/maker_fixtures/INU-013.json
|
254
|
+
- test/maker_fixtures/IPSD-041.json
|
255
|
+
- test/maker_fixtures/IPTD-464.json
|
256
|
+
- test/maker_fixtures/IPTD-629.json
|
257
|
+
- test/maker_fixtures/IPZ-005.json
|
253
258
|
- test/maker_fixtures/JBD-153.json
|
254
259
|
- test/maker_fixtures/JBS-004.json
|
255
260
|
- test/maker_fixtures/JOB-010.json
|
@@ -297,6 +302,9 @@ files:
|
|
297
302
|
- test/maker_fixtures/OPUD-125.json
|
298
303
|
- test/maker_fixtures/OSR-003.json
|
299
304
|
- test/maker_fixtures/PARM-028.json
|
305
|
+
- test/maker_fixtures/PBD-134.json
|
306
|
+
- test/maker_fixtures/PGD-306.json
|
307
|
+
- test/maker_fixtures/PJD-085.json
|
300
308
|
- test/maker_fixtures/PLA-001.json
|
301
309
|
- test/maker_fixtures/PPB-008.json
|
302
310
|
- test/maker_fixtures/PPP-001.json
|
@@ -304,6 +312,9 @@ files:
|
|
304
312
|
- test/maker_fixtures/PPSD-028.json
|
305
313
|
- test/maker_fixtures/PPT-004.json
|
306
314
|
- test/maker_fixtures/PTS-230.json
|
315
|
+
- test/maker_fixtures/PTV-001.json
|
316
|
+
- test/maker_fixtures/PXD-024.json
|
317
|
+
- test/maker_fixtures/PXD-027.json
|
307
318
|
- test/maker_fixtures/Perfect-G 430mei.json
|
308
319
|
- test/maker_fixtures/Perfect-G 481yuuka.json
|
309
320
|
- test/maker_fixtures/Perfect-G Docle yoriko2.json
|
@@ -338,6 +349,7 @@ files:
|
|
338
349
|
- test/maker_fixtures/SRS-015.json
|
339
350
|
- test/maker_fixtures/SSPD-077.json
|
340
351
|
- test/maker_fixtures/STAR-359.json
|
352
|
+
- test/maker_fixtures/SUPD-065.json
|
341
353
|
- test/maker_fixtures/TDT-018.json
|
342
354
|
- test/maker_fixtures/TMAM-034.json
|
343
355
|
- test/maker_fixtures/TMCY-039.json
|
@@ -364,21 +376,7 @@ files:
|
|
364
376
|
- test/maker_fixtures_broken/BIJN-006.json
|
365
377
|
- test/maker_fixtures_broken/CLUB-003.json
|
366
378
|
- test/maker_fixtures_broken/HIGH-107.json
|
367
|
-
- test/
|
368
|
-
- test/maker_fixtures_broken/IPSD-041.json
|
369
|
-
- test/maker_fixtures_broken/IPTD-464.json
|
370
|
-
- test/maker_fixtures_broken/IPTD-629.json
|
371
|
-
- test/maker_fixtures_broken/IPZ-005.json
|
372
|
-
- test/maker_fixtures_broken/PBD-134.json
|
373
|
-
- test/maker_fixtures_broken/PGD-306.json
|
374
|
-
- test/maker_fixtures_broken/PJD-085.json
|
375
|
-
- test/maker_fixtures_broken/PTV-001.json
|
376
|
-
- test/maker_fixtures_broken/PXD-024.json
|
377
|
-
- test/maker_fixtures_broken/PXD-027.json
|
378
|
-
- test/maker_fixtures_broken/SUPD-065.json
|
379
|
-
- test/mgstage_fixtures_broken/011OAM-002.json
|
380
|
-
- test/mgstage_fixtures_broken/SIRO-1088.json
|
381
|
-
- test/mgstage_fixtures_broken/siro1088.json
|
379
|
+
- test/mgstage_fixtures/SIRO-1088.json
|
382
380
|
homepage:
|
383
381
|
licenses:
|
384
382
|
- MIT
|
@@ -477,8 +475,13 @@ test_files:
|
|
477
475
|
- test/maker_fixtures/GDW-006.json
|
478
476
|
- test/maker_fixtures/HAZ-009.json
|
479
477
|
- test/maker_fixtures/HON-001.json
|
478
|
+
- test/maker_fixtures/IDBD-447.json
|
480
479
|
- test/maker_fixtures/INF-003.json
|
481
480
|
- test/maker_fixtures/INU-013.json
|
481
|
+
- test/maker_fixtures/IPSD-041.json
|
482
|
+
- test/maker_fixtures/IPTD-464.json
|
483
|
+
- test/maker_fixtures/IPTD-629.json
|
484
|
+
- test/maker_fixtures/IPZ-005.json
|
482
485
|
- test/maker_fixtures/JBD-153.json
|
483
486
|
- test/maker_fixtures/JBS-004.json
|
484
487
|
- test/maker_fixtures/JOB-010.json
|
@@ -526,6 +529,9 @@ test_files:
|
|
526
529
|
- test/maker_fixtures/OPUD-125.json
|
527
530
|
- test/maker_fixtures/OSR-003.json
|
528
531
|
- test/maker_fixtures/PARM-028.json
|
532
|
+
- test/maker_fixtures/PBD-134.json
|
533
|
+
- test/maker_fixtures/PGD-306.json
|
534
|
+
- test/maker_fixtures/PJD-085.json
|
529
535
|
- test/maker_fixtures/PLA-001.json
|
530
536
|
- test/maker_fixtures/PPB-008.json
|
531
537
|
- test/maker_fixtures/PPP-001.json
|
@@ -533,6 +539,9 @@ test_files:
|
|
533
539
|
- test/maker_fixtures/PPSD-028.json
|
534
540
|
- test/maker_fixtures/PPT-004.json
|
535
541
|
- test/maker_fixtures/PTS-230.json
|
542
|
+
- test/maker_fixtures/PTV-001.json
|
543
|
+
- test/maker_fixtures/PXD-024.json
|
544
|
+
- test/maker_fixtures/PXD-027.json
|
536
545
|
- test/maker_fixtures/Perfect-G 430mei.json
|
537
546
|
- test/maker_fixtures/Perfect-G 481yuuka.json
|
538
547
|
- test/maker_fixtures/Perfect-G Docle yoriko2.json
|
@@ -567,6 +576,7 @@ test_files:
|
|
567
576
|
- test/maker_fixtures/SRS-015.json
|
568
577
|
- test/maker_fixtures/SSPD-077.json
|
569
578
|
- test/maker_fixtures/STAR-359.json
|
579
|
+
- test/maker_fixtures/SUPD-065.json
|
570
580
|
- test/maker_fixtures/TDT-018.json
|
571
581
|
- test/maker_fixtures/TMAM-034.json
|
572
582
|
- test/maker_fixtures/TMCY-039.json
|
@@ -593,18 +603,4 @@ test_files:
|
|
593
603
|
- test/maker_fixtures_broken/BIJN-006.json
|
594
604
|
- test/maker_fixtures_broken/CLUB-003.json
|
595
605
|
- test/maker_fixtures_broken/HIGH-107.json
|
596
|
-
- test/
|
597
|
-
- test/maker_fixtures_broken/IPSD-041.json
|
598
|
-
- test/maker_fixtures_broken/IPTD-464.json
|
599
|
-
- test/maker_fixtures_broken/IPTD-629.json
|
600
|
-
- test/maker_fixtures_broken/IPZ-005.json
|
601
|
-
- test/maker_fixtures_broken/PBD-134.json
|
602
|
-
- test/maker_fixtures_broken/PGD-306.json
|
603
|
-
- test/maker_fixtures_broken/PJD-085.json
|
604
|
-
- test/maker_fixtures_broken/PTV-001.json
|
605
|
-
- test/maker_fixtures_broken/PXD-024.json
|
606
|
-
- test/maker_fixtures_broken/PXD-027.json
|
607
|
-
- test/maker_fixtures_broken/SUPD-065.json
|
608
|
-
- test/mgstage_fixtures_broken/011OAM-002.json
|
609
|
-
- test/mgstage_fixtures_broken/SIRO-1088.json
|
610
|
-
- test/mgstage_fixtures_broken/siro1088.json
|
606
|
+
- test/mgstage_fixtures/SIRO-1088.json
|
@@ -1,49 +0,0 @@
|
|
1
|
-
base_uri 'ideapocket.com'
|
2
|
-
|
3
|
-
register_product(
|
4
|
-
/^(IDBD|IPSD|IPTD|IPZ|SUPD)-?(\d{3})$/i,
|
5
|
-
'/works/-/detail/=/cid=#{$1.downcase}#{$2}',
|
6
|
-
)
|
7
|
-
|
8
|
-
private
|
9
|
-
|
10
|
-
def self.parse_product_html(html)
|
11
|
-
specs = parse_specs(html)
|
12
|
-
{
|
13
|
-
actresses: html.xpath('//*[@id="content-box"]/p[1]').text.split('/'),
|
14
|
-
cover_image: html.at_css('div#content-box div.pake a')['href'],
|
15
|
-
directors: specs['監督'].split,
|
16
|
-
description: html.xpath('//*[@id="content-box"]/p[2]').text,
|
17
|
-
genres: specs['ジャンル'].split,
|
18
|
-
label: specs['レーベル'],
|
19
|
-
maker: 'Ideapocket',
|
20
|
-
movie_length: specs['収録時間']['DVD'],
|
21
|
-
release_date: specs['発売日']['DVD'],
|
22
|
-
sample_images: html.css('div#sample-pic a').map { |a| a['href'] },
|
23
|
-
thumbnail_image: html.at_css('#content-box > div.pake > a > img')['src'],
|
24
|
-
series: specs['シリーズ'],
|
25
|
-
title: html.css('div#content-box h2.list-ttl').text,
|
26
|
-
}
|
27
|
-
end
|
28
|
-
|
29
|
-
def self.parse_specs(html)
|
30
|
-
specs = {}
|
31
|
-
last_key = nil
|
32
|
-
html.xpath('//*[@id="navi-right"]/div[1]/p').text.lines do |line|
|
33
|
-
if line =~ /(.*):(.*)/
|
34
|
-
specs[$1.squish] = $2.squish
|
35
|
-
last_key = $1.squish
|
36
|
-
else
|
37
|
-
specs[last_key] += line.squish
|
38
|
-
end
|
39
|
-
end
|
40
|
-
specs.each do |key, value|
|
41
|
-
tokens = value.squish.split(/(Blu-ray|DVD)/)
|
42
|
-
tokens = tokens.delete_if(&:empty?).map(&:squish)
|
43
|
-
case tokens.size
|
44
|
-
when 2,4
|
45
|
-
specs[key] = Hash[*tokens]
|
46
|
-
end
|
47
|
-
end
|
48
|
-
specs
|
49
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
base_uri 'premium-beauty.com'
|
2
|
-
|
3
|
-
register_product(
|
4
|
-
/^(PBD|PGD|PJD|PTV|PXD)-?(\d{3})$/i,
|
5
|
-
'/works/-/detail/=/cid=#{$1.downcase}#{$2}',
|
6
|
-
)
|
7
|
-
|
8
|
-
private
|
9
|
-
|
10
|
-
def self.parse_product_html(html)
|
11
|
-
specs = Utils.hash_by_split(html.xpath('//*[@id="sub-navi"]/div[1]/div[1]/table/tr').map(&:text))
|
12
|
-
{
|
13
|
-
actresses: html.css('#content > div > div > div.actress-list > dl > dd').text.split('/'),
|
14
|
-
cover_image: html.at_css('#pake')['href'],
|
15
|
-
description: html.css('#content > div > div > div.detail_text').text,
|
16
|
-
directors: specs['監督'].split('/'),
|
17
|
-
genres: specs['ジャンル'].split('/'),
|
18
|
-
label: specs['レーベル'],
|
19
|
-
maker: 'Premium',
|
20
|
-
movie_length: specs['DVD収録時間'] || specs['Blu-ray収録時間'],
|
21
|
-
release_date: specs['発売日'],
|
22
|
-
sample_images: html.css('#sample_photo > li > a').map { |a| a['href'] },
|
23
|
-
series: specs['シリーズ'],
|
24
|
-
thumbnail_image: html.at_css('#pake > img')['src'],
|
25
|
-
title: html.css('#content > div > h2').text,
|
26
|
-
}
|
27
|
-
end
|
@@ -1,32 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"actresses": [
|
3
|
-
"桜ここみ"
|
4
|
-
],
|
5
|
-
"code": "IDBD-447",
|
6
|
-
"cover_image": "http://ideapocket.com/images/works/idbd447/idbd447pl.jpg",
|
7
|
-
"description": "神に選ばれた完成ボディーと魅惑で妖艶な色香は世の男たちを骨抜きにする!それがCOOL BEAUTIFUL GIRL桜ここみ!!そんな彼女が出演する6タイトルから抜きどころを厳選凝縮した満足必至な一本です!",
|
8
|
-
"genres": [
|
9
|
-
"Blu-Ray"
|
10
|
-
],
|
11
|
-
"label": "IDEAPOCKET BEST",
|
12
|
-
"maker": "Ideapocket",
|
13
|
-
"movie_length": 28800,
|
14
|
-
"page": "http://ideapocket.com/works/-/detail/=/cid=idbd447",
|
15
|
-
"release_date": "2013-06-01",
|
16
|
-
"sample_images": [
|
17
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-01.jpg",
|
18
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-02.jpg",
|
19
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-03.jpg",
|
20
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-04.jpg",
|
21
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-05.jpg",
|
22
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-06.jpg",
|
23
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-07.jpg",
|
24
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-08.jpg",
|
25
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-09.jpg",
|
26
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-10.jpg",
|
27
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-11.jpg",
|
28
|
-
"http://ideapocket.com/images/works/idbd447/idbd447jp-12.jpg"
|
29
|
-
],
|
30
|
-
"thumbnail_image": "http://ideapocket.com/images/works/idbd447/idbd447pm.jpg",
|
31
|
-
"title": "花は桜、女はここみ 男を引き寄せるエロスの象徴 桜ここみのSPECIAL BOX8時間!!"
|
32
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"actresses": [
|
3
|
-
"希崎ジェシカ",
|
4
|
-
"希志あいの",
|
5
|
-
"横山美雪"
|
6
|
-
],
|
7
|
-
"code": "IPSD-041",
|
8
|
-
"cover_image": "http://ideapocket.com/images/works/ipsd041/ipsd041pl.jpg",
|
9
|
-
"directors": [
|
10
|
-
"宇佐美忠則"
|
11
|
-
],
|
12
|
-
"description": "美しき女神たち、「希崎ジェシカ」「希志あいの」「横山美雪」が繰り広げる絶対的エロスの宴。開幕フェラチオ、ヴァーチャル4P、痴女3P、焦らしFUCKなどなど、フィナーレはもちろん大乱交!圧倒的な官能、圧巻の映像美…美しすぎる460分、是非お楽しみください。特設ページへ",
|
13
|
-
"genres": [
|
14
|
-
"乱交",
|
15
|
-
"Blu-Ray",
|
16
|
-
"共演"
|
17
|
-
],
|
18
|
-
"label": "TISSUE",
|
19
|
-
"maker": "Ideapocket",
|
20
|
-
"movie_length": 27600,
|
21
|
-
"page": "http://ideapocket.com/works/-/detail/=/cid=ipsd041",
|
22
|
-
"release_date": "2010-11-01",
|
23
|
-
"sample_images": [
|
24
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-01.jpg",
|
25
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-02.jpg",
|
26
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-03.jpg",
|
27
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-04.jpg",
|
28
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-05.jpg",
|
29
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-06.jpg",
|
30
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-07.jpg",
|
31
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-08.jpg",
|
32
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-09.jpg",
|
33
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-10.jpg",
|
34
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-11.jpg",
|
35
|
-
"http://ideapocket.com/images/works/ipsd041/ipsd041jp-12.jpg"
|
36
|
-
],
|
37
|
-
"thumbnail_image": "http://ideapocket.com/images/works/ipsd041/ipsd041pm.jpg",
|
38
|
-
"series": "BEAUTY VENUS",
|
39
|
-
"title": "BEAUTY VENUS 3"
|
40
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"actresses": [
|
3
|
-
"Rio"
|
4
|
-
],
|
5
|
-
"code": "IPTD-464",
|
6
|
-
"cover_image": "http://ideapocket.com/images/works/iptd464/iptd464pl.jpg",
|
7
|
-
"description": "みんなのアイドルりおっちが先生になって、いろ〜んなことを教えちゃう!!カワイイ淫語で生徒たちを誘惑、もう学校中が総勃ち!超アイドル女教師の愛らしすぎる笑顔…数々の誘惑にアナタはどこまで耐えられますか?",
|
8
|
-
"genres": [
|
9
|
-
"先生",
|
10
|
-
"ザーメン",
|
11
|
-
"ローター・バイブ"
|
12
|
-
],
|
13
|
-
"label": "TISSUE",
|
14
|
-
"maker": "Ideapocket",
|
15
|
-
"movie_length": 7200,
|
16
|
-
"page": "http://ideapocket.com/works/-/detail/=/cid=iptd464",
|
17
|
-
"release_date": "2009-07-01",
|
18
|
-
"sample_images": [
|
19
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-01.jpg",
|
20
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-02.jpg",
|
21
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-03.jpg",
|
22
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-04.jpg",
|
23
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-05.jpg",
|
24
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-06.jpg",
|
25
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-07.jpg",
|
26
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-08.jpg",
|
27
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-09.jpg",
|
28
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-10.jpg",
|
29
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-11.jpg",
|
30
|
-
"http://ideapocket.com/images/works/iptd464/iptd464jp-12.jpg"
|
31
|
-
],
|
32
|
-
"thumbnail_image": "http://ideapocket.com/images/works/iptd464/iptd464pm.jpg",
|
33
|
-
"series": "誘惑授業シリーズ",
|
34
|
-
"title": "Rio先生の誘惑授業"
|
35
|
-
}
|