imdb 0.5.1 → 0.6.0
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.
- data/VERSION +1 -1
- data/imdb.gemspec +7 -4
- data/lib/imdb.rb +1 -1
- data/lib/imdb/cli.rb +4 -3
- data/lib/imdb/search.rb +1 -1
- data/spec/fixtures/search_kannethirey_thondrinal +14 -0
- data/spec/fixtures/search_matrix_revolutions +3 -3
- data/spec/fixtures/search_star_trek +50 -43
- data/spec/fixtures/top_250 +35 -28
- data/spec/fixtures/tt0095016 +130 -111
- data/spec/fixtures/tt0111161 +111 -97
- data/spec/fixtures/tt0117731 +130 -117
- data/spec/fixtures/tt0242653 +100 -101
- data/spec/fixtures/tt0330508 +760 -0
- data/spec/fixtures/tt1352369 +94 -68
- data/spec/imdb/cli_spec.rb +16 -1
- data/spec/imdb/search_spec.rb +15 -0
- data/spec/spec_helper.rb +2 -0
- metadata +4 -2
data/spec/fixtures/tt1352369
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
HTTP/1.1 200 OK
|
|
2
|
-
Date:
|
|
2
|
+
Date: Mon, 07 Dec 2009 13:19:25 GMT
|
|
3
3
|
Server: Server
|
|
4
4
|
Cache-Control: private
|
|
5
5
|
Content-Type: text/html
|
|
6
|
-
Set-Cookie: session-id=82.92.155.84.
|
|
7
|
-
Set-Cookie: uu=
|
|
8
|
-
Set-Cookie: cs=
|
|
6
|
+
Set-Cookie: session-id=82.92.155.84.1260191965710262; path=/; domain=.imdb.com
|
|
7
|
+
Set-Cookie: uu=MgISlovvX/uewiFTwwEQ3QEwXGInphxiBIU6cRSlXzE0pRokZOA/dGGwfzRnB3s1d5BqNNT2HGIkxV8RRIV/YRe2vME3hhxiIfBKgmemHCUUppRyJNU/4SSFf2E09rzBNDUP8USFf2E3lrzBN4YcYieAWvJk9hxiJNWfUUSFf2EHtrzBN4YcYiemHCJn9mxSI=;expires=Thu, 30 Dec 2037 00:00:00 GMT;path=/;domain=.imdb.com
|
|
8
|
+
Set-Cookie: cs=otcpEMrQQwTfija7hZknQweBbbqgkVqM8BkNuqPyPTKzgv6pM4JO2aCRXRoA0U26oKcq7COBbbqjovjcN9HN2bCRWyxAGW26oKdbraCRbbqgsW26oJFt+uDBHYqg==;expires=Tue, 08 Dec 2009 08:00:00 GMT;path=/;domain=.imdb.com
|
|
9
9
|
Vary: Accept-Encoding,User-Agent
|
|
10
10
|
P3P: policyref="http://i.imdb.com/images/p3p.xml",CP="IMDB "
|
|
11
11
|
Cneonction: close
|
|
@@ -28,6 +28,8 @@ Transfer-Encoding: chunked
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
+
|
|
32
|
+
|
|
31
33
|
<meta name="WT.cg_n" content="title">
|
|
32
34
|
<meta name="WT.cg_s" content="main">
|
|
33
35
|
<meta name="WT.z_const" content="tt1352369">
|
|
@@ -35,7 +37,7 @@ Transfer-Encoding: chunked
|
|
|
35
37
|
<link rel="stylesheet" type="text/css" media="screen" href="http://i.media-imdb.com/images/SFb308770c8ad3491935da16b9027c4b4a/css2/consumersite.css" />
|
|
36
38
|
<link rel="icon" href="http://i.imdb.com/favicon.ico" />
|
|
37
39
|
<link rel="apple-touch-icon" href="http://i.media-imdb.com/apple-touch-icon.png" />
|
|
38
|
-
<style type="text/css">.showtimes { font-family: Arial, Helvetica, sans-serif }.showtimes .heading { font-size: 16px; font-weight: bold }.showtimes .time { color: #ff0000 }.tabular { border-collapse: collapse; border: 1px solid #9999ff }.tabular td.heading { background: #bbbbff }.tabular td.heading-right { background: #bbbbff; text-align: right; font-size: small }.tabular td.address { font-size: small; color: #666666; background: #eeeeee }.tabular td.detail { font-size: small; background: #eeeeee }.tabular tr.alternate { background: #eeeeee }.tabular td.item { border: 1px solid #9999ff }</style><link rel="stylesheet" type="text/css" href="http://i.media-imdb.com/images/SFda887c91acab2da9a9c3c7c5de08db7a/tn15/tn15.css" /><link rel="stylesheet" type="text/css" href="http://i.media-imdb.com/images/SF1eee71a1e0976edd804b8502c3f47a7b/css2/site/consumer-vote.css" /><script type="text/javascript" src="http://i.media-imdb.com/images/SF796054a7d6bb065a13b6313e891c1901/js/vote.js" /></script><script type="text/javascript">var __vkey = '
|
|
40
|
+
<style type="text/css">.showtimes { font-family: Arial, Helvetica, sans-serif }.showtimes .heading { font-size: 16px; font-weight: bold }.showtimes .time { color: #ff0000 }.tabular { border-collapse: collapse; border: 1px solid #9999ff }.tabular td.heading { background: #bbbbff }.tabular td.heading-right { background: #bbbbff; text-align: right; font-size: small }.tabular td.address { font-size: small; color: #666666; background: #eeeeee }.tabular td.detail { font-size: small; background: #eeeeee }.tabular tr.alternate { background: #eeeeee }.tabular td.item { border: 1px solid #9999ff }</style><link rel="stylesheet" type="text/css" href="http://i.media-imdb.com/images/SFda887c91acab2da9a9c3c7c5de08db7a/tn15/tn15.css" /><link rel="stylesheet" type="text/css" href="http://i.media-imdb.com/images/SF1eee71a1e0976edd804b8502c3f47a7b/css2/site/consumer-vote.css" /><script type="text/javascript" src="http://i.media-imdb.com/images/SF796054a7d6bb065a13b6313e891c1901/js/vote.js" /></script><script type="text/javascript">var __vkey = 'RQB0Gr4d9HINAUVr0OBrwQB.qjlz-Vo5czp5ChcuGSpAfhqZ4zlaOXP6SaoTSjk6Zzn6mmBpWjlgaVoJIDkqCX';var __vrtg = '4.7';</script>
|
|
39
41
|
|
|
40
42
|
|
|
41
43
|
|
|
@@ -60,9 +62,9 @@ Transfer-Encoding: chunked
|
|
|
60
62
|
|
|
61
63
|
|
|
62
64
|
|
|
63
|
-
<link rel="stylesheet" type="text/css" media="screen" href="http://i.media-imdb.com/images/
|
|
65
|
+
<link rel="stylesheet" type="text/css" media="screen" href="http://i.media-imdb.com/images/SF7e874f9183ed059088348a868bb3a561/wheel/base.css" />
|
|
64
66
|
|
|
65
|
-
<link rel="stylesheet" type="text/css" media="screen" href="http://i.media-imdb.com/images/
|
|
67
|
+
<link rel="stylesheet" type="text/css" media="screen" href="http://i.media-imdb.com/images/SFe985296043425521208175e82abfb3b7/wheel/widgets.css" />
|
|
66
68
|
<link rel="stylesheet" type="text/css" media="screen" href="http://i.media-imdb.com/images/SFd3560ce602756fe42845692ba799495b/wheel/layout.css" />
|
|
67
69
|
|
|
68
70
|
<!--[if IE]>
|
|
@@ -75,8 +77,8 @@ Transfer-Encoding: chunked
|
|
|
75
77
|
generic.monitoring.set_twilight_info(
|
|
76
78
|
"title",
|
|
77
79
|
"Other",
|
|
78
|
-
"
|
|
79
|
-
"2009-
|
|
80
|
+
"2d42f910ca5105794057272a353d42a9e7b08f64",
|
|
81
|
+
"2009-12-07T13%3A19%3A25GMT",
|
|
80
82
|
"http://www.imdb.com/twilight/?");
|
|
81
83
|
|
|
82
84
|
generic.monitoring.start_timing("page_load");
|
|
@@ -113,7 +115,7 @@ ad_utils.queue_ad('1','floating1');
|
|
|
113
115
|
</script>
|
|
114
116
|
<iframe src="/images/SFb73c79d3e365f1c3c3ff02bc85d516ed/a/ifb/doubleclick/expand.html#imdb2.consumer.title/maindetails;tile=1;sz=1x1,4x1;p=f1;ifb=pf;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;[PASEGMENTS];ord=[CLIENT_SIDE_ORD]?" id="floating1" name="floating1" class="yesScript" width="0" height="0" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" allowtransparency="true" onload="ad_utils.resize_iframe(this)"></iframe>
|
|
115
117
|
|
|
116
|
-
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=1;sz=1x1,4x1;p=f1;ifb=pf;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=
|
|
118
|
+
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=1;sz=1x1,4x1;p=f1;ifb=pf;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=955542730721?" target="_blank"><img src="http://ad.doubleclick.net/ad/imdb2.consumer.title/maindetails;tile=1;sz=1x1,4x1;p=f1;ifb=pf;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=955542730721?" border="0" alt="advertisement" /></a></noscript>
|
|
117
119
|
|
|
118
120
|
</div>
|
|
119
121
|
<!-- End FLOATING1 -->
|
|
@@ -136,17 +138,17 @@ ad_utils.queue_ad('2','top_ad');
|
|
|
136
138
|
</script>
|
|
137
139
|
<iframe src="/images/SFb73c79d3e365f1c3c3ff02bc85d516ed/a/ifb/doubleclick/expand.html#imdb2.consumer.title/maindetails;tile=2;sz=728x90,1008x150,1008x200,9x1;p=t;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;[PASEGMENTS];ord=[CLIENT_SIDE_ORD]?" id="top_ad" name="top_ad" class="yesScript" width="0" height="75" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" allowtransparency="true" onload="ad_utils.resize_iframe(this)"></iframe>
|
|
138
140
|
|
|
139
|
-
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=2;sz=728x90,1008x150,1008x200,9x1;p=t;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=
|
|
141
|
+
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=2;sz=728x90,1008x150,1008x200,9x1;p=t;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=955542730721?" target="_blank"><img src="http://ad.doubleclick.net/ad/imdb2.consumer.title/maindetails;tile=2;sz=728x90,1008x150,1008x200,9x1;p=t;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=955542730721?" border="0" alt="advertisement" /></a></noscript>
|
|
140
142
|
|
|
141
143
|
</div>
|
|
142
144
|
<!-- End TOP_AD -->
|
|
143
145
|
|
|
144
146
|
</div>
|
|
145
147
|
<div id="navbar">
|
|
146
|
-
<link rel="stylesheet" type="text/css" href="http://i.media-imdb.com/images/
|
|
147
|
-
<noscript><link rel="stylesheet" type="text/css" href="http://i.media-imdb.com/images/
|
|
148
|
+
<link rel="stylesheet" type="text/css" href="http://i.media-imdb.com/images/SF5dd12adbf242a281a3eaa02534cbd7fa/css2/site/consumer-navbar.css">
|
|
149
|
+
<noscript><link rel="stylesheet" type="text/css" href="http://i.media-imdb.com/images/SFead09969ad98114020e0af7cdf34fd4e/css2/site/consumer-navbar-no-js.css"></noscript>
|
|
148
150
|
<!--[if IE]> <link rel="stylesheet" type="text/css" href="http://i.media-imdb.com/images/SFe79ee830c64a949f2242e73dae4a0c8d/css2/site/consumer-navbar-ie.css"><![endif]-->
|
|
149
|
-
<span id="home_img_holder"><a id="home_img" title="Home" alt="Home" href="/" onclick="(new Image()).src='/rg/home/navbar/images/b.gif?link=/'"></a></span>
|
|
151
|
+
<span id="home_img_holder"><a id="home_img" title="Home" alt="Home" href="/" onclick="(new Image()).src='/rg/home/navbar/images/b.gif?link=/'"></a><span class="alt_logo"><a title="Home" href="/" onclick="(new Image()).src='/rg/home/navbar/images/b.gif?link=/'"">IMDb</a></span></span>
|
|
150
152
|
<script type="text/javascript">
|
|
151
153
|
var home_img_holder = document.getElementById("home_img_holder");
|
|
152
154
|
home_img_holder.onmouseover = function() {
|
|
@@ -208,7 +210,7 @@ function jumpMenu(selObj) {
|
|
|
208
210
|
<li><a href="/showtimes/" onclick="(new Image()).src='/rg/showtimes/navbar/images/b.gif?link=/showtimes/'">Showtimes & Tickets</a></li>
|
|
209
211
|
<li><a href="/mymovies/list" onclick="(new Image()).src='/rg/mymovies/navbar/images/b.gif?link=/mymovies/list'">My Movies</a></li>
|
|
210
212
|
<li><a href="/sections/dvd/" onclick="(new Image()).src='/rg/dvdbluray/navbar/images/b.gif?link=/sections/dvd/'">DVD & Blu-Ray</a></li>
|
|
211
|
-
<li><a href="/indie/" onclick="(new Image()).src='/rg/independentfilm/navbar/images/b.gif?link=/indie/'">Independent Film</a></li>
|
|
213
|
+
<li><a href="/sections/indie/" onclick="(new Image()).src='/rg/independentfilm/navbar/images/b.gif?link=/sections/indie/'">Independent Film</a></li>
|
|
212
214
|
<li><a href="/chart/top" onclick="(new Image()).src='/rg/top250/navbar/images/b.gif?link=/chart/top'">Top 250</a></li>
|
|
213
215
|
<li><a href="/Browse/" onclick="(new Image()).src='/rg/browse/navbar/images/b.gif?link=/Browse/'">Browse</a></li>
|
|
214
216
|
</ul>
|
|
@@ -259,7 +261,7 @@ function jumpMenu(selObj) {
|
|
|
259
261
|
</li>
|
|
260
262
|
</ul>
|
|
261
263
|
</div>
|
|
262
|
-
<div class="nb_extra"><a href="/rg/
|
|
264
|
+
<div class="nb_extra"><a href="/rg/NAV_IMDBIT/NAV_EXTRA/http://www.imdb.it/" onclick="(new Image()).src='/rg/imdb_it/navbar/images/b.gif?link=/rg/NAV_IMDBIT/NAV_EXTRA/http://www.imdb.it/'">IMDb - Now in Italian</a></div>
|
|
263
265
|
</div>
|
|
264
266
|
</div>
|
|
265
267
|
<script type="text/javascript" src="http://i.media-imdb.com/images/SFf84dc8673d077c0db8630ccf4488f6ae/js/navbar.js"></script>
|
|
@@ -408,7 +410,7 @@ ad_utils.queue_ad('3','top_rhs');
|
|
|
408
410
|
</script>
|
|
409
411
|
<iframe src="/images/SFb73c79d3e365f1c3c3ff02bc85d516ed/a/ifb/doubleclick/expand.html#imdb2.consumer.title/maindetails;tile=3;sz=300x250,300x600,160x600,120x600,11x1;p=tr;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;[PASEGMENTS];ord=[CLIENT_SIDE_ORD]?" id="top_rhs" name="top_rhs" class="yesScript" width="0" height="0" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" allowtransparency="true" onload="ad_utils.resize_iframe(this)"></iframe>
|
|
410
412
|
|
|
411
|
-
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=3;sz=300x250,300x600,160x600,120x600,11x1;p=tr;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=
|
|
413
|
+
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=3;sz=300x250,300x600,160x600,120x600,11x1;p=tr;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=955542730721?" target="_blank"><img src="http://ad.doubleclick.net/ad/imdb2.consumer.title/maindetails;tile=3;sz=300x250,300x600,160x600,120x600,11x1;p=tr;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=955542730721?" border="0" alt="advertisement" /></a></noscript>
|
|
412
414
|
|
|
413
415
|
</div>
|
|
414
416
|
<!-- End TOP_RHS -->
|
|
@@ -440,7 +442,7 @@ ad_utils.queue_ad('3','top_rhs');
|
|
|
440
442
|
<b>4.7/10</b>
|
|
441
443
|
|
|
442
444
|
|
|
443
|
-
<a href="ratings" class="tn15more">
|
|
445
|
+
<a href="ratings" class="tn15more">508 votes</a>
|
|
444
446
|
|
|
445
447
|
|
|
446
448
|
</div>
|
|
@@ -453,7 +455,7 @@ ad_utils.queue_ad('3','top_rhs');
|
|
|
453
455
|
</div> <!-- tn15rating ... -->
|
|
454
456
|
</div> <!-- end info -->
|
|
455
457
|
|
|
456
|
-
<div class="info"><h5>MOVIEmeter: <a href="/help/show_leaf?prowhatisstarmeter"><img src="http://i.media-imdb.com/images/tn15/meter_help.gif" width="12" height="12" border="0" alt="?"></a></h5><div class="info-content"
|
|
458
|
+
<div class="info"><h5>MOVIEmeter: <a href="/help/show_leaf?prowhatisstarmeter"><img src="http://i.media-imdb.com/images/tn15/meter_help.gif" width="12" height="12" border="0" alt="?"></a></h5><div class="info-content">No change</b> in popularity this week. See <a href="/r/movie-con/rg/title-tease/meter-why/title/tt1352369/graph-data">why</a> on <a href="/r/movie-con/rg/title-tease/meter-prolink/">IMDbPro</a>.</div></div>
|
|
457
459
|
|
|
458
460
|
|
|
459
461
|
|
|
@@ -519,13 +521,13 @@ King of Japanese Grotesque Movie <a class="tn15more inline" href="/title/tt13523
|
|
|
519
521
|
|
|
520
522
|
<a href="/keyword/disinfectant/">Disinfectant</a>
|
|
521
523
|
|
|
|
522
|
-
<a href="/keyword/arm-cut-off/">Arm
|
|
524
|
+
<a href="/keyword/arm-cut-off/">Arm Cut Off</a>
|
|
523
525
|
|
|
|
524
|
-
<a href="/keyword/severed-head/">Severed
|
|
526
|
+
<a href="/keyword/severed-head/">Severed Head</a>
|
|
525
527
|
|
|
|
526
528
|
<a href="/keyword/disembowelment/">Disembowelment</a>
|
|
527
529
|
|
|
|
528
|
-
<a href="/keyword/smelling-salts/">Smelling
|
|
530
|
+
<a href="/keyword/smelling-salts/">Smelling Salts</a>
|
|
529
531
|
|
|
530
532
|
</span></div>
|
|
531
533
|
|
|
@@ -555,8 +557,8 @@ k.onmouseout= function() {if (!window.hasVoted) this.className='keyword-spoile
|
|
|
555
557
|
<div class="info">
|
|
556
558
|
<h5>User Comments:</h5>
|
|
557
559
|
<div class="info-content">
|
|
558
|
-
|
|
559
|
-
<a class="tn15more inline" href="#comment">more (
|
|
560
|
+
Those crazy Japs!
|
|
561
|
+
<a class="tn15more inline" href="#comment">more (21 total)</a>
|
|
560
562
|
</div>
|
|
561
563
|
</div>
|
|
562
564
|
<hr/> <div class="headerinline"><h3>Cast</h3> <small style="position: relative; bottom: 1px">(Credited cast)</small></div> <div class="info-offset"> <table class="cast"> <tr class="odd"><td class="hs"><a href="http://resume.imdb.com/" onClick="(new Image()).src='/rg/title-tease/resumehead/images/b.gif?link=http://resume.imdb.com/';"><img src="http://i.media-imdb.com/images/tn15/addtiny.gif" width="25" height="31" border="0"></td><td class="nm"><a href="/name/nm2789828/" onclick="(new Image()).src='/rg/castlist/position-1/images/b.gif?link=/name/nm2789828/';">Tsugumi Nagasawa</a></td><td class="ddd"> ... </td><td class="char">Aki</td></tr> <tr class="even"><td class="hs"><a href="http://resume.imdb.com/" onClick="(new Image()).src='/rg/title-tease/resumehead/images/b.gif?link=http://resume.imdb.com/';"><img src="http://i.media-imdb.com/images/tn15/addtiny.gif" width="25" height="31" border="0"></td><td class="nm"><a href="/name/nm2937406/" onclick="(new Image()).src='/rg/castlist/position-2/images/b.gif?link=/name/nm2937406/';">Hiroaki Kawatsure</a></td><td class="ddd"> ... </td><td class="char">Kazuo</td></tr> <tr class="odd"><td class="hs"><a href="http://resume.imdb.com/" onClick="(new Image()).src='/rg/title-tease/resumehead/images/b.gif?link=http://resume.imdb.com/';"><img src="http://i.media-imdb.com/images/tn15/addtiny.gif" width="25" height="31" border="0"></td><td class="nm"><a href="/name/nm3258689/" onclick="(new Image()).src='/rg/castlist/position-3/images/b.gif?link=/name/nm3258689/';">Shigeo Ôsako</a></td><td class="ddd"></td><td class="char"></td></tr></table><a class="tn15more" href="fullcredits#cast">more</a></div> <div><form action="/character/create" method="post"><input type="hidden" name="title" value="tt1352369">Create a character page for: <select name="name" onchange="if (this.options[this.selectedIndex].value == '...') document.location='fullcredits#cast'"><option>Aki</option><option>Kazuo</option><option disabled="disabled">-----------</option><option value="...">more...</option></select> <input style="font: Tahoma, Verdana, sans-serif; font-size: 8pt; font-weight: bold; background-color: #eeeeee; border-color: #ccccee; color: black" type="submit" value="Create »"> <a target="_blank" href="/help/show_leaf?createchar"><img src="http://i.media-imdb.com/images/help13x10.gif" width="13" height="10" border="0" alt="?"></a></form></div>
|
|
@@ -573,7 +575,7 @@ afc_data["MIDDLE_CENTER"] = { channel: "test01-channel",
|
|
|
573
575
|
client: "ca-amazon-imdb_js",
|
|
574
576
|
title: "Sponsored Links",
|
|
575
577
|
help: "What's This?",
|
|
576
|
-
hints: "
|
|
578
|
+
hints: "intestines,severed head,stabbed in the eye,japanese horror film,tortured to death"
|
|
577
579
|
};
|
|
578
580
|
</script>
|
|
579
581
|
|
|
@@ -595,8 +597,8 @@ afc_data["MIDDLE_CENTER"] = { channel: "test01-channel",
|
|
|
595
597
|
|
|
596
598
|
|
|
597
599
|
<a class="tn15more" href="/title/tt1352369/releaseinfo#akas" onClick="(new Image()).src='/rg/title-tease/akas/images/b.gif?link=/title/tt1352369/releaseinfo#akas';">more</a>
|
|
598
|
-
|
|
599
600
|
</div>
|
|
601
|
+
|
|
600
602
|
</div>
|
|
601
603
|
|
|
602
604
|
<div class="info">
|
|
@@ -726,24 +728,23 @@ function ynd(id, status) {
|
|
|
726
728
|
while (d.childNodes.length) d.removeChild(d.childNodes[0]);
|
|
727
729
|
var s = document.createElement('span');
|
|
728
730
|
if (!status) s.setAttribute('class', 'error');
|
|
729
|
-
|
|
730
|
-
s.appendChild(t);
|
|
731
|
+
s.innerHTML = status ? 'Thank you, your vote will be counted and appear on this page within 24 hours.' : 'Sorry, there was a problem collecting your vote.';
|
|
731
732
|
d.appendChild(s);
|
|
732
733
|
}
|
|
733
734
|
//-->
|
|
734
735
|
</script>
|
|
735
736
|
<div class="small">
|
|
736
|
-
|
|
737
|
+
6 out of 6 people found the following comment useful.
|
|
737
738
|
</div>
|
|
738
739
|
|
|
739
|
-
<b>
|
|
740
|
+
<b>Those crazy Japs!</b>, 27 August 2009
|
|
740
741
|
<br>
|
|
741
742
|
|
|
742
|
-
<img width="102" height="12" alt="
|
|
743
|
+
<img width="102" height="12" alt="5/10" src="/images/showtimes/50.gif"><br>
|
|
743
744
|
|
|
744
745
|
<div class="small">
|
|
745
746
|
Author:
|
|
746
|
-
<a href="/user/
|
|
747
|
+
<a href="/user/ur4724418/comments">weemonk</a>
|
|
747
748
|
|
|
748
749
|
<small>
|
|
749
750
|
from United Kingdom
|
|
@@ -754,23 +755,43 @@ from United Kingdom
|
|
|
754
755
|
|
|
755
756
|
</p>
|
|
756
757
|
<p>
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
758
|
+
Here in the UK, since around 2001, the BBFC have been doing a splendid
|
|
759
|
+
job of not butchering films or censoring films like they did back in
|
|
760
|
+
the 80's and 90's. So it is to my surprise that a film has been banned
|
|
761
|
+
by the BBFC here in the UK....the film in question - Grotesque.<br/><br/>Being an avid fan of the 80's video nasty era where many a film was
|
|
762
|
+
banned due to it's content (long gone are the days), I was intrigued to
|
|
763
|
+
know what - in this day and age - had upset the BBFC so much that they
|
|
764
|
+
warranted banning Grotesque. If someone tells me I am not allowed to
|
|
765
|
+
see something, then I want to see it more so!<br/><br/>So.....using simple internet skills I seeked out Grotesque purely to
|
|
766
|
+
view what someone at the BBFC deemed as something I shouldn't view so
|
|
767
|
+
as to form my own opinion. If it weren't for the ban, I wouldn't have
|
|
768
|
+
bothered (note to the BBFC, ban something and more people will want to
|
|
769
|
+
see it than if you had just given the film a rating)<br/><br/>To the film - Erm...this is where it becomes difficult to formulate a
|
|
770
|
+
point of view. Did the BBFC ban the film due to content or were they
|
|
771
|
+
actually being really kind and ensuring that such rubbish had no chance
|
|
772
|
+
of distribution?<br/><br/>Grotesque is a well shot film - good actors, editing, lighting, special
|
|
773
|
+
effects. It's not a cheap 'Schlock horror' aka along the line of the
|
|
774
|
+
Guinea Pig series of films. Problem is that whilst it's a well shot
|
|
775
|
+
film, the large overhanging question is 'Why?' was it shot in the first
|
|
776
|
+
place. Seriously, I have no idea as to what audience this film may
|
|
777
|
+
cater for. I can't actually think of the type of individual who would
|
|
778
|
+
be 'entertained' by this film. It serves no purpose....there are no
|
|
779
|
+
moral issues addressed, no twist, no conclusion to idea. This film is
|
|
780
|
+
simply about a sick twisted person who kidnaps a couple so that he may
|
|
781
|
+
torture them for his pleasure. That's it, nothing further - there is no
|
|
782
|
+
story, no character background, no narrative, NO POINT!<br/><br/>Even gore hounds will be bored. Whilst the torture is nasty and
|
|
783
|
+
gory...that's all it is, nothing further. As a previous reviewer
|
|
784
|
+
stated, you could just look at this film as a series of 'special
|
|
785
|
+
effects sequences' because there is nothing past that. <br/><br/>I really can not fathom the reasoning behind the making of this film.
|
|
786
|
+
If the director had a point to make or message to say - sorry, I missed
|
|
787
|
+
it.<br/><br/>I can only think that maybe exploration of a sick mind (such as August
|
|
788
|
+
Underground) was the point to put across but unfortunately it fails as
|
|
789
|
+
a pointless exercise (whereas August Underground worked for what it
|
|
790
|
+
was)<br/><br/>I have given the film a 5 star rating as adequate effort to make a film
|
|
791
|
+
has been put in...I just don't understand why though.
|
|
771
792
|
</p>
|
|
772
793
|
|
|
773
|
-
<div class="yn" id="
|
|
794
|
+
<div class="yn" id="ynd_2117974">
|
|
774
795
|
<form method="get" action="/register/">
|
|
775
796
|
<input type="hidden" name="why" value="comment_vote">
|
|
776
797
|
Was the above comment useful to you?
|
|
@@ -783,7 +804,7 @@ Was the above comment useful to you?
|
|
|
783
804
|
</div>
|
|
784
805
|
|
|
785
806
|
|
|
786
|
-
<a class="tn15more" href="/title/tt1352369/usercomments" onClick="(new Image()).src='/rg/title-tease/comments-bottom/images/b.gif?link=/title/tt1352369/usercomments';">more (
|
|
807
|
+
<a class="tn15more" href="/title/tt1352369/usercomments" onClick="(new Image()).src='/rg/title-tease/comments-bottom/images/b.gif?link=/title/tt1352369/usercomments';">more (21 total)</a>
|
|
787
808
|
|
|
788
809
|
<hr/>
|
|
789
810
|
<h3>Message Boards</h3>
|
|
@@ -793,35 +814,35 @@ Discuss this movie with other users on <a href="/title/tt1352369/board" onClick=
|
|
|
793
814
|
<tr><th class="left">Recent Posts (updated daily)</th><th class="right">User</th></tr>
|
|
794
815
|
|
|
795
816
|
<tr class="odd">
|
|
817
|
+
<td><a href="/rg/title-tease/boards-subject/title/tt1352369/board/nest/145680257">Entertainment</a></td>
|
|
818
|
+
<td><a href="/rg/title-tease/boards-user/user/ur9760416/boards/profile">mortimerj190</a></td>
|
|
819
|
+
</tr>
|
|
820
|
+
|
|
821
|
+
<tr class="even">
|
|
796
822
|
<td><a href="/rg/title-tease/boards-subject/title/tt1352369/board/nest/145627218">influenced by Saw + Hostel? Yeah right!!</a></td>
|
|
797
823
|
<td><a href="/rg/title-tease/boards-user/user/ur7982573/boards/profile">El_Lep</a></td>
|
|
798
824
|
</tr>
|
|
799
825
|
|
|
800
|
-
<tr class="
|
|
826
|
+
<tr class="odd">
|
|
801
827
|
<td><a href="/rg/title-tease/boards-subject/title/tt1352369/board/nest/147164559">Good review of Grotesque</a></td>
|
|
802
828
|
<td><a href="/rg/title-tease/boards-user/user/ur4754009/boards/profile">dangerous_jamie</a></td>
|
|
803
829
|
</tr>
|
|
804
830
|
|
|
805
|
-
<tr class="
|
|
831
|
+
<tr class="even">
|
|
806
832
|
<td><a href="/rg/title-tease/boards-subject/title/tt1352369/board/nest/146924644">extreme to say the least...</a></td>
|
|
807
833
|
<td><a href="/rg/title-tease/boards-user/user/ur19115814/boards/profile">willtraven</a></td>
|
|
808
834
|
</tr>
|
|
809
835
|
|
|
810
|
-
<tr class="
|
|
836
|
+
<tr class="odd">
|
|
811
837
|
<td><a href="/rg/title-tease/boards-subject/title/tt1352369/board/nest/145482396">Banned in the UK</a></td>
|
|
812
838
|
<td><a href="/rg/title-tease/boards-user/user/ur6751881/boards/profile">markskelton2</a></td>
|
|
813
839
|
</tr>
|
|
814
840
|
|
|
815
|
-
<tr class="
|
|
841
|
+
<tr class="even">
|
|
816
842
|
<td><a href="/rg/title-tease/boards-subject/title/tt1352369/board/nest/145719282">Sure, there was no plot, however...</a></td>
|
|
817
843
|
<td><a href="/rg/title-tease/boards-user/user/ur12729293/boards/profile">Luke_chippendale</a></td>
|
|
818
844
|
</tr>
|
|
819
845
|
|
|
820
|
-
<tr class="even">
|
|
821
|
-
<td><a href="/rg/title-tease/boards-subject/title/tt1352369/board/nest/145754905">If It Wasn't Banned</a></td>
|
|
822
|
-
<td><a href="/rg/title-tease/boards-user/user/ur11301565/boards/profile">kimber15</a></td>
|
|
823
|
-
</tr>
|
|
824
|
-
|
|
825
846
|
</table>
|
|
826
847
|
<a class="tn15more" href="/title/tt1352369/board" onClick="(new Image()).src='/rg/title-tease/boards-bottom/images/b.gif?link=/title/tt1352369/board';">more</a>
|
|
827
848
|
|
|
@@ -982,12 +1003,7 @@ var amznUts = {
|
|
|
982
1003
|
</script>
|
|
983
1004
|
|
|
984
1005
|
<!-- End UTS code -->
|
|
985
|
-
|
|
986
|
-
generic.monitoring.stop_timing('page_load', '', true);
|
|
987
|
-
</script>
|
|
988
|
-
<script>
|
|
989
|
-
generic.monitoring.all_events_started();
|
|
990
|
-
</script>
|
|
1006
|
+
|
|
991
1007
|
<!-- End ads_footer -->
|
|
992
1008
|
</layer>
|
|
993
1009
|
</div>
|
|
@@ -1001,7 +1017,7 @@ ad_utils.queue_ad('5','bottom_ad');
|
|
|
1001
1017
|
</script>
|
|
1002
1018
|
<iframe src="/images/SFb73c79d3e365f1c3c3ff02bc85d516ed/a/ifb/doubleclick/expand.html#imdb2.consumer.title/maindetails;tile=5;sz=728x90,2x1;p=b;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;[PASEGMENTS];ord=[CLIENT_SIDE_ORD]?" id="bottom_ad" name="bottom_ad" class="yesScript" width="0" height="0" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" allowtransparency="true" onload="ad_utils.resize_iframe(this)"></iframe>
|
|
1003
1019
|
|
|
1004
|
-
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=5;sz=728x90,2x1;p=b;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=
|
|
1020
|
+
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=5;sz=728x90,2x1;p=b;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=955542730721?" target="_blank"><img src="http://ad.doubleclick.net/ad/imdb2.consumer.title/maindetails;tile=5;sz=728x90,2x1;p=b;coo=jp;g=th;g=h;id=tt1352369;tt=f;k=c;g=cr;ord=955542730721?" border="0" alt="advertisement" /></a></noscript>
|
|
1005
1021
|
|
|
1006
1022
|
</div>
|
|
1007
1023
|
<!-- End BOTTOM_AD -->
|
|
@@ -1015,18 +1031,28 @@ ad_utils.queue_ad('5','bottom_ad');
|
|
|
1015
1031
|
|
|
1016
1032
|
|
|
1017
1033
|
|
|
1018
|
-
<img src="/rd/?q=
|
|
1034
|
+
<img src="/rd/?q=50703000000030a090f29616f226e276966600000010c6a08023030393132303730000001037a040379646370000001047&cb=12601919658867" width="1" height="1" alt="" border="0">
|
|
1019
1035
|
</div> <!-- id="wrapper" -->
|
|
1020
|
-
<!-- h=
|
|
1021
|
-
|
|
1036
|
+
<!-- h=iop105 i=2009-12-06 s=legacy(default) t='Mon Dec 7 05:19:25 2009' -->
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
<script type="text/javascript" src="http://i.media-imdb.com/images/SF6e77f150220431a5de25baf77a862728/js/webtrends/webtrends.js"></script>
|
|
1022
1040
|
|
|
1023
1041
|
<script type="text/javascript">
|
|
1042
|
+
if(typeof(generic) != 'undefined') {
|
|
1043
|
+
generic.monitoring.start_timing("webtrends_execute");
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1024
1046
|
var _wt_tag=new WebTrends();
|
|
1025
1047
|
_wt_tag.dcsCollect();
|
|
1048
|
+
|
|
1049
|
+
if(typeof(generic) != 'undefined') {
|
|
1050
|
+
generic.monitoring.stop_timing("webtrends_execute", '', false);
|
|
1051
|
+
}
|
|
1026
1052
|
</script>
|
|
1027
1053
|
<noscript>
|
|
1028
1054
|
<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcspqo4cm100004bfufqci0k1_8x8h/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=8.6.2"/></div>
|
|
1029
1055
|
</noscript>
|
|
1030
|
-
|
|
1056
|
+
<script type="text/javascript">generic.monitoring.stop_timing('page_load', '', true);</script><script type="text/javascript">generic.monitoring.all_events_started();</script>
|
|
1031
1057
|
</body>
|
|
1032
1058
|
</html>
|
data/spec/imdb/cli_spec.rb
CHANGED
|
@@ -18,7 +18,7 @@ describe Imdb::CLI, "execute" do
|
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
describe "yield one movie" do
|
|
21
|
+
describe "yield one movie an ID" do
|
|
22
22
|
before(:each) do
|
|
23
23
|
@stdout_io = StringIO.new
|
|
24
24
|
Imdb::CLI.execute(@stdout_io, ["0117731"])
|
|
@@ -31,4 +31,19 @@ describe Imdb::CLI, "execute" do
|
|
|
31
31
|
@stdout.should =~ /Jonathan Frakes/
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
|
+
|
|
35
|
+
describe "yield one movie with an URL" do
|
|
36
|
+
before(:each) do
|
|
37
|
+
@stdout_io = StringIO.new
|
|
38
|
+
Imdb::CLI.execute(@stdout_io, ["http://www.imdb.com/title/tt0117731/"])
|
|
39
|
+
@stdout_io.rewind
|
|
40
|
+
@stdout = @stdout_io.read
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
it "report data" do
|
|
44
|
+
@stdout.should =~ /Star Trek\: First Contact \(1996\)/
|
|
45
|
+
@stdout.should =~ /Jonathan Frakes/
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
34
49
|
end
|
data/spec/imdb/search_spec.rb
CHANGED
|
@@ -24,6 +24,21 @@ describe "Imdb::Search with multiple search results" do
|
|
|
24
24
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
describe "Imdb::Search with an exact match and no poster" do
|
|
28
|
+
|
|
29
|
+
it "should not raise an exception" do
|
|
30
|
+
lambda {
|
|
31
|
+
@search = Imdb::Search.new("Kannethirey Thondrinal").movies
|
|
32
|
+
}.should_not raise_error
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
it "should return the movie id correctly" do
|
|
36
|
+
@search = Imdb::Search.new("Kannethirey Thondrinal")
|
|
37
|
+
@search.movies.first.id.should eql("0330508")
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
41
|
+
|
|
27
42
|
describe "Imdb::Search with an exact match" do
|
|
28
43
|
|
|
29
44
|
before(:each) do
|
data/spec/spec_helper.rb
CHANGED
|
@@ -24,6 +24,8 @@ def read_fixture(path)
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
IMDB_SAMPLES = {
|
|
27
|
+
"http://www.imdb.com:80/find?q=Kannethirey+Thondrinal;s=tt" => "search_kannethirey_thondrinal",
|
|
28
|
+
"http://www.imdb.com/title/tt0330508/?fr=c2M9MXxsbT01MDB8ZmI9dXx0dD0xfG14PTIwfGh0bWw9MXxjaD0xfGNvPTF8cG49MHxmdD0xfGt3PTF8cXM9S2FubmV0aGlyZXkgVGhvbmRyaW5hbHxzaXRlPWRmfHE9S2FubmV0aGlyZXkgVGhvbmRyaW5hbHxubT0x;fc=1;ft=1" => "tt0330508",
|
|
27
29
|
"http://www.imdb.com:80/find?q=Matrix+Revolutions;s=tt" => "search_matrix_revolutions",
|
|
28
30
|
"http://www.imdb.com:80/find?q=Star+Trek;s=tt" => "search_star_trek",
|
|
29
31
|
"http://www.imdb.com:80/title/tt0117731/" => "tt0117731",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: imdb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ariejan de Vroom
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-12-07 00:00:00 +01:00
|
|
13
13
|
default_executable: imdb
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -80,6 +80,7 @@ files:
|
|
|
80
80
|
- script/console
|
|
81
81
|
- script/destroy
|
|
82
82
|
- script/generate
|
|
83
|
+
- spec/fixtures/search_kannethirey_thondrinal
|
|
83
84
|
- spec/fixtures/search_matrix_revolutions
|
|
84
85
|
- spec/fixtures/search_star_trek
|
|
85
86
|
- spec/fixtures/top_250
|
|
@@ -87,6 +88,7 @@ files:
|
|
|
87
88
|
- spec/fixtures/tt0111161
|
|
88
89
|
- spec/fixtures/tt0117731
|
|
89
90
|
- spec/fixtures/tt0242653
|
|
91
|
+
- spec/fixtures/tt0330508
|
|
90
92
|
- spec/fixtures/tt1352369
|
|
91
93
|
- spec/imdb/cli_spec.rb
|
|
92
94
|
- spec/imdb/movie_spec.rb
|