imdb 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/imdb.gemspec +3 -2
- data/lib/imdb/movie.rb +11 -1
- data/lib/imdb/string_extensions.rb +1 -1
- data/spec/fixtures/search_kannethirey_thondrinal +3 -3
- data/spec/fixtures/search_matrix_revolutions +3 -3
- data/spec/fixtures/search_star_trek +17 -16
- data/spec/fixtures/top_250 +15 -14
- data/spec/fixtures/tt0083987 +1196 -0
- data/spec/fixtures/tt0095016 +60 -90
- data/spec/fixtures/tt0111161 +64 -66
- data/spec/fixtures/tt0117731 +48 -89
- data/spec/fixtures/tt0242653 +44 -55
- data/spec/fixtures/tt0330508 +16 -15
- data/spec/fixtures/tt1352369 +65 -59
- data/spec/imdb/movie_spec.rb +7 -0
- data/spec/spec_helper.rb +2 -1
- metadata +3 -2
data/spec/fixtures/tt0330508
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
HTTP/1.1 200 OK
|
2
|
-
Date:
|
2
|
+
Date: Fri, 11 Dec 2009 15:35:47 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.1260545747344376; path=/; domain=.imdb.com
|
7
|
+
Set-Cookie: uu=FIXgGkcFHmpqOqluUeuy8gEwXGInphxiBOU/ZDS1X2GkxXohFOA/QQT1SjGnB3s1d5BqNNTWHGIktZ8xZIV/YVe2vME3hhxiIfBKgmemHCUUppRyJLWfISSFf2F01rzBNOVPEWSFf2F3lrzBN4YcYieAWvJk1hxiJJU/cWSFf2FHtrzBN4YcYiemHCJn9mxSI=;expires=Thu, 30 Dec 2037 00:00:00 GMT;path=/;domain=.imdb.com
|
8
|
+
Set-Cookie: cs=jLfPZVUumbAxmUosOtP8nwiOAiSO2RITtsmaRI2qUVQN2kFn3noBB+7ZEhQoWVIEjtkkY9wugiSIT7YH7U6EwemZspfu2SSyblESJI7vJDOO2RIkjvkSJI7ZEmTOiWIUg=;expires=Sat, 12 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
|
@@ -37,7 +37,7 @@ Transfer-Encoding: chunked
|
|
37
37
|
<link rel="stylesheet" type="text/css" media="screen" href="http://i.media-imdb.com/images/SFb308770c8ad3491935da16b9027c4b4a/css2/consumersite.css" />
|
38
38
|
<link rel="icon" href="http://i.imdb.com/favicon.ico" />
|
39
39
|
<link rel="apple-touch-icon" href="http://i.media-imdb.com/apple-touch-icon.png" />
|
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 = '
|
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 = 'P9rM-YSlHv3gpUeM2wGo5gB.qjlz6Vo5c1pZancuGTpAfhqZ4xlaOXMqCUozSjk6Jzn6mmBpWjlgaVoJIDkqCX';var __vrtg = '7.4';</script>
|
41
41
|
|
42
42
|
|
43
43
|
|
@@ -77,8 +77,8 @@ Transfer-Encoding: chunked
|
|
77
77
|
generic.monitoring.set_twilight_info(
|
78
78
|
"title",
|
79
79
|
"Other",
|
80
|
-
"
|
81
|
-
"2009-12-
|
80
|
+
"7f3a40fad58e2df5a25c386c216a119f496c3247",
|
81
|
+
"2009-12-11T15%3A35%3A47GMT",
|
82
82
|
"http://www.imdb.com/twilight/?");
|
83
83
|
|
84
84
|
generic.monitoring.start_timing("page_load");
|
@@ -115,7 +115,7 @@ ad_utils.queue_ad('1','floating1');
|
|
115
115
|
</script>
|
116
116
|
<iframe src="/images/SFb73c79d3e365f1c3c3ff02bc85d516ed/a/ifb/doubleclick/expand.html#imdb2.consumer.title/maindetails;tile=1;sz=1x1,4x1;p=f1;ifb=pf;g=brc;coo=in;g=ro;tt=f;id=tt0330508;[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>
|
117
117
|
|
118
|
-
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=1;sz=1x1,4x1;p=f1;ifb=pf;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=
|
118
|
+
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=1;sz=1x1,4x1;p=f1;ifb=pf;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=191967123509?" target="_blank"><img src="http://ad.doubleclick.net/ad/imdb2.consumer.title/maindetails;tile=1;sz=1x1,4x1;p=f1;ifb=pf;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=191967123509?" border="0" alt="advertisement" /></a></noscript>
|
119
119
|
|
120
120
|
</div>
|
121
121
|
<!-- End FLOATING1 -->
|
@@ -138,7 +138,7 @@ ad_utils.queue_ad('2','top_ad');
|
|
138
138
|
</script>
|
139
139
|
<iframe src="/images/SFb73c79d3e365f1c3c3ff02bc85d516ed/a/ifb/doubleclick/expand.html#imdb2.consumer.title/maindetails;tile=2;sz=728x90,1008x150,1008x200,9x1;p=t;g=brc;coo=in;g=ro;tt=f;id=tt0330508;[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>
|
140
140
|
|
141
|
-
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=2;sz=728x90,1008x150,1008x200,9x1;p=t;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=
|
141
|
+
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=2;sz=728x90,1008x150,1008x200,9x1;p=t;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=191967123509?" target="_blank"><img src="http://ad.doubleclick.net/ad/imdb2.consumer.title/maindetails;tile=2;sz=728x90,1008x150,1008x200,9x1;p=t;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=191967123509?" border="0" alt="advertisement" /></a></noscript>
|
142
142
|
|
143
143
|
</div>
|
144
144
|
<!-- End TOP_AD -->
|
@@ -213,6 +213,7 @@ function jumpMenu(selObj) {
|
|
213
213
|
<li><a href="/sections/indie/" onclick="(new Image()).src='/rg/independentfilm/navbar/images/b.gif?link=/sections/indie/'">Independent Film</a></li>
|
214
214
|
<li><a href="/chart/top" onclick="(new Image()).src='/rg/top250/navbar/images/b.gif?link=/chart/top'">Top 250</a></li>
|
215
215
|
<li><a href="/Browse/" onclick="(new Image()).src='/rg/browse/navbar/images/b.gif?link=/Browse/'">Browse</a></li>
|
216
|
+
<li><a href="/features/rto/2010/" onclick="(new Image()).src='/rg/roadtotheglobes/navbar/images/b.gif?link=/features/rto/2010/'">Road to the Globes</a></li>
|
216
217
|
</ul>
|
217
218
|
</li>
|
218
219
|
<li>
|
@@ -261,7 +262,7 @@ function jumpMenu(selObj) {
|
|
261
262
|
</li>
|
262
263
|
</ul>
|
263
264
|
</div>
|
264
|
-
<div class="nb_extra"><a href="/rg/
|
265
|
+
<div class="nb_extra"><a href="/rg/NAV_TWITTER/NAV_EXTRA/http://www.twitter.com/imdb" onclick="(new Image()).src='/rg/twitter/navbar/images/b.gif?link=/rg/NAV_TWITTER/NAV_EXTRA/http://www.twitter.com/imdb'">Follow IMDb on Twitter</a></div>
|
265
266
|
</div>
|
266
267
|
</div>
|
267
268
|
<script type="text/javascript" src="http://i.media-imdb.com/images/SFf84dc8673d077c0db8630ccf4488f6ae/js/navbar.js"></script>
|
@@ -355,7 +356,7 @@ ad_utils.queue_ad('3','top_rhs');
|
|
355
356
|
</script>
|
356
357
|
<iframe src="/images/SFb73c79d3e365f1c3c3ff02bc85d516ed/a/ifb/doubleclick/expand.html#imdb2.consumer.title/maindetails;tile=3;sz=300x250,300x600,160x600,120x600,11x1;p=tr;g=brc;coo=in;g=ro;tt=f;id=tt0330508;[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>
|
357
358
|
|
358
|
-
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=3;sz=300x250,300x600,160x600,120x600,11x1;p=tr;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=
|
359
|
+
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=3;sz=300x250,300x600,160x600,120x600,11x1;p=tr;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=191967123509?" target="_blank"><img src="http://ad.doubleclick.net/ad/imdb2.consumer.title/maindetails;tile=3;sz=300x250,300x600,160x600,120x600,11x1;p=tr;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=191967123509?" border="0" alt="advertisement" /></a></noscript>
|
359
360
|
|
360
361
|
</div>
|
361
362
|
<!-- End TOP_RHS -->
|
@@ -400,7 +401,7 @@ ad_utils.queue_ad('3','top_rhs');
|
|
400
401
|
</div> <!-- tn15rating ... -->
|
401
402
|
</div> <!-- end info -->
|
402
403
|
|
403
|
-
<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"><b>
|
404
|
+
<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"><b>Up 3%</b> in popularity this week. See <a href="/r/movie-con/rg/title-tease/meter-why/title/tt0330508/graph-data">why</a> on <a href="/r/movie-con/rg/title-tease/meter-prolink/">IMDbPro</a>.</div></div>
|
404
405
|
|
405
406
|
|
406
407
|
|
@@ -719,7 +720,7 @@ ad_utils.queue_ad('5','bottom_ad');
|
|
719
720
|
</script>
|
720
721
|
<iframe src="/images/SFb73c79d3e365f1c3c3ff02bc85d516ed/a/ifb/doubleclick/expand.html#imdb2.consumer.title/maindetails;tile=5;sz=728x90,2x1;p=b;g=brc;coo=in;g=ro;tt=f;id=tt0330508;[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>
|
721
722
|
|
722
|
-
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=5;sz=728x90,2x1;p=b;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=
|
723
|
+
<noscript><a href="http://ad.doubleclick.net/jump/imdb2.consumer.title/maindetails;tile=5;sz=728x90,2x1;p=b;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=191967123509?" target="_blank"><img src="http://ad.doubleclick.net/ad/imdb2.consumer.title/maindetails;tile=5;sz=728x90,2x1;p=b;g=brc;coo=in;g=ro;tt=f;id=tt0330508;ord=191967123509?" border="0" alt="advertisement" /></a></noscript>
|
723
724
|
|
724
725
|
</div>
|
725
726
|
<!-- End BOTTOM_AD -->
|
@@ -733,9 +734,9 @@ ad_utils.queue_ad('5','bottom_ad');
|
|
733
734
|
|
734
735
|
|
735
736
|
|
736
|
-
<img src="/rd/?q=
|
737
|
+
<img src="/rd/?q=50703000000030a090f29616f226e276966600000010c6a08023030393132313130000001037a040379646370000001047&cb=126054574716906" width="1" height="1" alt="" border="0">
|
737
738
|
</div> <!-- id="wrapper" -->
|
738
|
-
<!-- h=
|
739
|
+
<!-- h=iop528 i=2009-12-10 s=legacy(default) t='Fri Dec 11 07:35:47 2009' -->
|
739
740
|
|
740
741
|
|
741
742
|
<script type="text/javascript" src="http://i.media-imdb.com/images/SF6e77f150220431a5de25baf77a862728/js/webtrends/webtrends.js"></script>
|
data/spec/fixtures/tt1352369
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
HTTP/1.1 200 OK
|
2
|
-
Date:
|
2
|
+
Date: Fri, 11 Dec 2009 15:35:44 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.1260545744664083; path=/; domain=.imdb.com
|
7
|
+
Set-Cookie: uu=LI+ojN1bb8cv9a+7g7fqswEwXGInphxiBKU/JASlXzFkxXohJOA/QQG1L+RHB3s1d5BqNNTmHGIktZ8xZIV/YVe2vME3hhxiIfBKgmemHCUUppRyJLWfISSFf2F05rzBNOVPEWSFf2F3lrzBN4YcYieAWvJk5hxiJJU/cWSFf2FHtrzBN4YcYiemHCJn9mxSI=;expires=Thu, 30 Dec 2037 00:00:00 GMT;path=/;domain=.imdb.com
|
8
|
+
Set-Cookie: cs=erSlDgtbXwcBkQ5MQM0xkgnJEiSO2SUS3lFyJI2aUqydilF3/coxR47ZIoQumTIkju9VcgqpEiSIjXVwTf5AwPmZsofu2SSyblESJI7vJDOO2RIkjvkSJI7ZEmTOiWIUg=;expires=Sat, 12 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
|
@@ -37,7 +37,7 @@ Transfer-Encoding: chunked
|
|
37
37
|
<link rel="stylesheet" type="text/css" media="screen" href="http://i.media-imdb.com/images/SFb308770c8ad3491935da16b9027c4b4a/css2/consumersite.css" />
|
38
38
|
<link rel="icon" href="http://i.imdb.com/favicon.ico" />
|
39
39
|
<link rel="apple-touch-icon" href="http://i.media-imdb.com/apple-touch-icon.png" />
|
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 = '
|
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 = 'veJJepOHeJ4RjoMxBbeQGwB.qjlz-Vo5czp5ChcuGSpAfhqZ4ylaOXMqCUozSjk6Jzn6mmBpWjlgaVoJIDkqCX';var __vrtg = '4.7';</script>
|
41
41
|
|
42
42
|
|
43
43
|
|
@@ -77,8 +77,8 @@ Transfer-Encoding: chunked
|
|
77
77
|
generic.monitoring.set_twilight_info(
|
78
78
|
"title",
|
79
79
|
"Other",
|
80
|
-
"
|
81
|
-
"2009-12-
|
80
|
+
"cb85bca471b0955a92a5b091e71eced28fc14f41",
|
81
|
+
"2009-12-11T15%3A35%3A44GMT",
|
82
82
|
"http://www.imdb.com/twilight/?");
|
83
83
|
|
84
84
|
generic.monitoring.start_timing("page_load");
|
@@ -115,7 +115,7 @@ ad_utils.queue_ad('1','floating1');
|
|
115
115
|
</script>
|
116
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>
|
117
117
|
|
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=
|
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=834418663610?" 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=834418663610?" border="0" alt="advertisement" /></a></noscript>
|
119
119
|
|
120
120
|
</div>
|
121
121
|
<!-- End FLOATING1 -->
|
@@ -138,7 +138,7 @@ ad_utils.queue_ad('2','top_ad');
|
|
138
138
|
</script>
|
139
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>
|
140
140
|
|
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=
|
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=834418663610?" 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=834418663610?" border="0" alt="advertisement" /></a></noscript>
|
142
142
|
|
143
143
|
</div>
|
144
144
|
<!-- End TOP_AD -->
|
@@ -213,6 +213,7 @@ function jumpMenu(selObj) {
|
|
213
213
|
<li><a href="/sections/indie/" onclick="(new Image()).src='/rg/independentfilm/navbar/images/b.gif?link=/sections/indie/'">Independent Film</a></li>
|
214
214
|
<li><a href="/chart/top" onclick="(new Image()).src='/rg/top250/navbar/images/b.gif?link=/chart/top'">Top 250</a></li>
|
215
215
|
<li><a href="/Browse/" onclick="(new Image()).src='/rg/browse/navbar/images/b.gif?link=/Browse/'">Browse</a></li>
|
216
|
+
<li><a href="/features/rto/2010/" onclick="(new Image()).src='/rg/roadtotheglobes/navbar/images/b.gif?link=/features/rto/2010/'">Road to the Globes</a></li>
|
216
217
|
</ul>
|
217
218
|
</li>
|
218
219
|
<li>
|
@@ -261,7 +262,7 @@ function jumpMenu(selObj) {
|
|
261
262
|
</li>
|
262
263
|
</ul>
|
263
264
|
</div>
|
264
|
-
<div class="nb_extra"><a href="/rg/
|
265
|
+
<div class="nb_extra"><a href="/rg/NAV_TWITTER/NAV_EXTRA/http://www.twitter.com/imdb" onclick="(new Image()).src='/rg/twitter/navbar/images/b.gif?link=/rg/NAV_TWITTER/NAV_EXTRA/http://www.twitter.com/imdb'">Follow IMDb on Twitter</a></div>
|
265
266
|
</div>
|
266
267
|
</div>
|
267
268
|
<script type="text/javascript" src="http://i.media-imdb.com/images/SFf84dc8673d077c0db8630ccf4488f6ae/js/navbar.js"></script>
|
@@ -410,7 +411,7 @@ ad_utils.queue_ad('3','top_rhs');
|
|
410
411
|
</script>
|
411
412
|
<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>
|
412
413
|
|
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=
|
414
|
+
<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=834418663610?" 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=834418663610?" border="0" alt="advertisement" /></a></noscript>
|
414
415
|
|
415
416
|
</div>
|
416
417
|
<!-- End TOP_RHS -->
|
@@ -442,7 +443,7 @@ ad_utils.queue_ad('3','top_rhs');
|
|
442
443
|
<b>4.7/10</b>
|
443
444
|
|
444
445
|
|
445
|
-
<a href="ratings" class="tn15more">
|
446
|
+
<a href="ratings" class="tn15more">513 votes</a>
|
446
447
|
|
447
448
|
|
448
449
|
</div>
|
@@ -455,7 +456,7 @@ ad_utils.queue_ad('3','top_rhs');
|
|
455
456
|
</div> <!-- tn15rating ... -->
|
456
457
|
</div> <!-- end info -->
|
457
458
|
|
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">
|
459
|
+
<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"><b>Up 2%</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>
|
459
460
|
|
460
461
|
|
461
462
|
|
@@ -557,7 +558,7 @@ k.onmouseout= function() {if (!window.hasVoted) this.className='keyword-spoile
|
|
557
558
|
<div class="info">
|
558
559
|
<h5>User Comments:</h5>
|
559
560
|
<div class="info-content">
|
560
|
-
|
561
|
+
Gore at expense of everything else. !
|
561
562
|
<a class="tn15more inline" href="#comment">more (21 total)</a>
|
562
563
|
</div>
|
563
564
|
</div>
|
@@ -575,7 +576,7 @@ afc_data["MIDDLE_CENTER"] = { channel: "test01-channel",
|
|
575
576
|
client: "ca-amazon-imdb_js",
|
576
577
|
title: "Sponsored Links",
|
577
578
|
help: "What's This?",
|
578
|
-
hints: "
|
579
|
+
hints: "torture,wound,breasts,disembowelment,disinfectant"
|
579
580
|
};
|
580
581
|
</script>
|
581
582
|
|
@@ -688,7 +689,7 @@ UK:R</a>
|
|
688
689
|
<div class="info">
|
689
690
|
<h5>Trivia:</h5>
|
690
691
|
<div class="info-content">
|
691
|
-
|
692
|
+
The film was rejected for UK DVD release by the BBFC in August 2009.
|
692
693
|
<a class="tn15more inline" href="/title/tt1352369/trivia" onClick="(new Image()).src='/rg/title-tease/trivia/images/b.gif?link=/title/tt1352369/trivia';">more</a>
|
693
694
|
|
694
695
|
</div>
|
@@ -734,20 +735,19 @@ function ynd(id, status) {
|
|
734
735
|
//-->
|
735
736
|
</script>
|
736
737
|
<div class="small">
|
737
|
-
|
738
|
+
4 out of 4 people found the following comment useful.
|
738
739
|
</div>
|
739
740
|
|
740
|
-
<b>
|
741
|
+
<b>Gore at expense of everything else. !</b>, 8 September 2009
|
741
742
|
<br>
|
742
743
|
|
743
|
-
<img width="102" height="12" alt="5/10" src="/images/showtimes/50.gif"><br>
|
744
744
|
|
745
745
|
<div class="small">
|
746
746
|
Author:
|
747
|
-
<a href="/user/
|
747
|
+
<a href="/user/ur11730768/comments">vamplad79</a>
|
748
748
|
|
749
749
|
<small>
|
750
|
-
from
|
750
|
+
from Australia
|
751
751
|
</small>
|
752
752
|
|
753
753
|
</div>
|
@@ -755,43 +755,49 @@ from United Kingdom
|
|
755
755
|
|
756
756
|
</p>
|
757
757
|
<p>
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
torture
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
758
|
+
Just watched and only because it is banned and therefore had to seek it
|
759
|
+
out and say a big ' f#@k ' u to any board who try to stop me from
|
760
|
+
watching a film unless of course it involves snuff, real animal
|
761
|
+
killings or kids. Anyways, the film was quite well shot and the acting
|
762
|
+
for what it was - was good. All and all the production values are
|
763
|
+
great. I wouldn't say gore wise this over-tops anything else that is
|
764
|
+
out there especially from Japan (thinks Ichi the killer) but it is as
|
765
|
+
full on as it can go.<br/><br/>what turned me of was that the movie is very mean spirited and has no
|
766
|
+
other feature than to show the torture and brutality inflicted on our
|
767
|
+
two victims. The story is very basic even for a slasher with very
|
768
|
+
minimal exposition. Two people are kidnapped and tortured in full on
|
769
|
+
ways - that's it I didn't learn anything here nor did i come away
|
770
|
+
entertained so one has to ask why was it made - who was the director
|
771
|
+
thinking this would please audience wise. The film is at the very edge
|
772
|
+
as far as a film can show and if that is the sole purpose then congrats
|
773
|
+
to the film makers but this isn't my type of film and i doubt it would
|
774
|
+
be a repeated view for many sane people out there. This is a one time
|
775
|
+
watch if that and only if you are curious about it.<br/><br/>With no real contexts, all you are left with is graphic torture after
|
776
|
+
another and if that is all that entertains you when you watch a
|
777
|
+
film..well....i am frankly a bit scared of you. I don't mind the
|
778
|
+
occasional torture scene liking films such as Hostel, Texas Chainsaw,
|
779
|
+
Inside, High Tension, Martyrs, Frontiers and the Saw franchise but for
|
780
|
+
all there faults they all give you some story, breathing room between
|
781
|
+
the torture scenes, production, some meaning and actually entertain. If
|
782
|
+
being locked in the same room for and hour and 15 minutes while you
|
783
|
+
watch the most extreme close ups of sadistic torture without anything
|
784
|
+
else to it thrills you then maybe this movie is for you.<br/><br/>I am trying to stress i am not opposed to gore, i am personally just
|
785
|
+
opposed to gore alone with no other meaning besides thrilling those
|
786
|
+
sickos that like this stuff and revolting everyone else - simply to
|
787
|
+
revolt. That's not film-making to me.<br/><br/>For me, there is no redeeming factors to this movie besides some
|
788
|
+
production value and the debate it will create around censorship and
|
789
|
+
going to far in film. Regardless of the film just being mean spirit,
|
790
|
+
the film is actually just a bad film. If your curious due to it being a
|
791
|
+
banned film in 2009 (i can't believe a film is banned in this day and
|
792
|
+
age) or just like a bit of gore than seek it out and have a look but i
|
793
|
+
don't think this is a film that many will sincerely enjoy and watch
|
794
|
+
again. The only merit here may be to other film makers regarding the
|
795
|
+
production value and Japanese horror theater but to the casual viewer
|
796
|
+
there is nothing here for you - but it doesn't mean you shouldn't be
|
797
|
+
able to watch it.
|
792
798
|
</p>
|
793
799
|
|
794
|
-
<div class="yn" id="
|
800
|
+
<div class="yn" id="ynd_2123790">
|
795
801
|
<form method="get" action="/register/">
|
796
802
|
<input type="hidden" name="why" value="comment_vote">
|
797
803
|
Was the above comment useful to you?
|
@@ -1017,7 +1023,7 @@ ad_utils.queue_ad('5','bottom_ad');
|
|
1017
1023
|
</script>
|
1018
1024
|
<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>
|
1019
1025
|
|
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=
|
1026
|
+
<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=834418663610?" 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=834418663610?" border="0" alt="advertisement" /></a></noscript>
|
1021
1027
|
|
1022
1028
|
</div>
|
1023
1029
|
<!-- End BOTTOM_AD -->
|
@@ -1031,9 +1037,9 @@ ad_utils.queue_ad('5','bottom_ad');
|
|
1031
1037
|
|
1032
1038
|
|
1033
1039
|
|
1034
|
-
<img src="/rd/?q=
|
1040
|
+
<img src="/rd/?q=50703000000030a090f29616f226e276966600000010c6a08023030393132313130000001037a040379646370000001047&cb=1260545744587" width="1" height="1" alt="" border="0">
|
1035
1041
|
</div> <!-- id="wrapper" -->
|
1036
|
-
<!-- h=
|
1042
|
+
<!-- h=iop108 i=2009-12-10 s=legacy(default) t='Fri Dec 11 07:35:44 2009' -->
|
1037
1043
|
|
1038
1044
|
|
1039
1045
|
<script type="text/javascript" src="http://i.media-imdb.com/images/SF6e77f150220431a5de25baf77a862728/js/webtrends/webtrends.js"></script>
|
data/spec/imdb/movie_spec.rb
CHANGED
@@ -93,6 +93,13 @@ describe "Imdb::Movie" do
|
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
96
|
+
describe "plot" do
|
97
|
+
it "should find a correct plot when HTML links are present" do
|
98
|
+
movie = Imdb::Movie.new("0083987")
|
99
|
+
movie.plot.should eql("Biography of Mahatma Gandhi, the lawyer who became the famed leader of the Indian revolts against the British through his philosophy of non-violent protest.")
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
96
103
|
describe "with no submitted poster" do
|
97
104
|
|
98
105
|
before(:each) do
|
data/spec/spec_helper.rb
CHANGED
@@ -34,7 +34,8 @@ IMDB_SAMPLES = {
|
|
34
34
|
"http://www.imdb.com/title/tt0242653/?fr=c2M9MXxsbT01MDB8ZmI9dXx0dD0xfG14PTIwfGh0bWw9MXxjaD0xfGNvPTF8cG49MHxmdD0xfGt3PTF8cXM9TWF0cml4IFJldm9sdXRpb25zfHNpdGU9ZGZ8cT1NYXRyaXggUmV2b2x1dGlvbnN8bm09MQ__;fc=1;ft=20" => "tt0242653",
|
35
35
|
"http://www.imdb.com:80/chart/top" => "top_250",
|
36
36
|
"http://www.imdb.com/title/tt0111161/" => "tt0111161",
|
37
|
-
"http://www.imdb.com/title/tt1352369/" => "tt1352369"
|
37
|
+
"http://www.imdb.com/title/tt1352369/" => "tt1352369",
|
38
|
+
"http://www.imdb.com/title/tt0083987/" => "tt0083987"
|
38
39
|
}
|
39
40
|
|
40
41
|
unless ENV['LIVE_TEST']
|
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.6.
|
4
|
+
version: 0.6.2
|
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-
|
12
|
+
date: 2009-12-11 00:00:00 +01:00
|
13
13
|
default_executable: imdb
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- spec/fixtures/search_matrix_revolutions
|
85
85
|
- spec/fixtures/search_star_trek
|
86
86
|
- spec/fixtures/top_250
|
87
|
+
- spec/fixtures/tt0083987
|
87
88
|
- spec/fixtures/tt0095016
|
88
89
|
- spec/fixtures/tt0111161
|
89
90
|
- spec/fixtures/tt0117731
|