spotlite 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ ## v0.2.0 22-Feb-2013
2
+ * Added search
3
+ * Refreshed fixtures
4
+ * Fixed title, original title, and year methods due to IMDb layout changes
5
+
1
6
  ## v0.1.1 12-Feb-2013
2
7
 
3
8
  * Fixed countries, languages, and rating methods due to IMDb layout changes
data/README.md CHANGED
@@ -19,7 +19,11 @@ Or install it yourself as:
19
19
  ## Usage
20
20
 
21
21
  > require 'spotlite'
22
+ # Access movie directly by its IMDb ID
22
23
  > movie = Spotlite::Movie.new("0133093")
24
+ # Or use search instead
25
+ > list = Spotlite::Search.new("the matrix").movies
26
+ > movie = list.first
23
27
  > movie.title
24
28
  => "The Matrix"
25
29
  > movie.runtime
@@ -68,11 +72,11 @@ Install FakeWeb gem:
68
72
  If you want to make a new feature that uses data from a page which is not stubbed out yet:
69
73
 
70
74
  $ cd spotlite
71
- $ curl -is http://www.imdb.com/title/tt[IMDB_ID]/ --header "Accept-Language: en-us" > spec/fixtures/tt[IMDB_ID]/index
75
+ $ curl -isH "Accept-Language: en-us" http://www.imdb.com/title/tt[IMDB_ID]/ > spec/fixtures/tt[IMDB_ID]/index
72
76
 
73
77
  or, for example:
74
78
 
75
- $ curl -is http://www.imdb.com/title/tt[IMDB_ID]/fullcredits --header "Accept-Language: en-us" > spec/fixtures/tt[IMDB_ID]/fullcredits
79
+ $ curl -isH "Accept-Language: en-us" http://www.imdb.com/title/tt[IMDB_ID]/fullcredits > spec/fixtures/tt[IMDB_ID]/fullcredits
76
80
 
77
81
  You get the idea. And don't forget to add corresponding line to `IMDB_SAMPLES`
78
82
  hash in `spec/spec_helper.rb` file.
@@ -7,3 +7,6 @@ require "nokogiri"
7
7
 
8
8
  require "spotlite/version"
9
9
  require "spotlite/movie"
10
+ require "spotlite/list"
11
+ require "spotlite/search"
12
+ require "spotlite/string_extensions"
@@ -0,0 +1,12 @@
1
+ module Spotlite
2
+
3
+ # Represents a list of movies
4
+ # Search results, movies a person participated in, etc.
5
+ class List
6
+ # Returns an array of +Spotlite::Movie+ objects
7
+ def movies
8
+ @movies ||= parse_movies
9
+ end
10
+ end
11
+
12
+ end
@@ -2,7 +2,7 @@ module Spotlite
2
2
 
3
3
  # Represents a movie on IMDb.com
4
4
  class Movie
5
- attr_accessor :imdb_id, :title, :url
5
+ attr_accessor :imdb_id, :title, :year
6
6
 
7
7
  # Initialize a new movie object by its IMDb ID as a string
8
8
  #
@@ -11,27 +11,28 @@ module Spotlite
11
11
  # Spotlite::Movie class objects are lazy loading. No HTTP request
12
12
  # will be performed upon object initialization. HTTP request will
13
13
  # be performed once when you use a method that needs remote data
14
- # Currently, all data is spead across 5 pages: main movie page,
14
+ # Currently, all data is spread across 5 pages: main movie page,
15
15
  # /releaseinfo, /fullcredits, /keywords, and /trivia
16
- def initialize(imdb_id, title = nil, url = nil)
16
+ def initialize(imdb_id, title = nil, year = nil)
17
17
  @imdb_id = imdb_id
18
18
  @title = title
19
+ @year = year
19
20
  @url = "http://www.imdb.com/title/tt#{imdb_id}/"
20
21
  end
21
22
 
22
23
  # Returns title as a string
23
24
  def title
24
- @title ||= details.at("h1[itemprop='name']").children.first.text.strip
25
+ @title ||= details.at("h1.header span[itemprop='name']").text.strip
25
26
  end
26
27
 
27
28
  # Returns original non-english title as a string
28
29
  def original_title
29
- details.at("h1[itemprop='name'] span.title-extra").children.first.text.strip rescue nil
30
+ details.at("h1.header span.title-extra[itemprop='name']").children.first.text.strip rescue nil
30
31
  end
31
32
 
32
33
  # Returns year of original release as an integer
33
34
  def year
34
- details.at("h1[itemprop='name'] a[href^='/year/']").text.to_i rescue nil
35
+ @year ||= details.at("h1.header a[href^='/year/']").text.parse_year rescue nil
35
36
  end
36
37
 
37
38
  # Returns IMDb rating as a float
@@ -59,7 +60,7 @@ module Spotlite
59
60
  def countries
60
61
  array = []
61
62
  details.css("div.txt-block a[href^='/country/']").each do |node|
62
- array << {:code => clean_href(node["href"]), :name => node.text.strip}
63
+ array << {:code => node["href"].clean_href, :name => node.text.strip}
63
64
  end
64
65
 
65
66
  array
@@ -70,7 +71,7 @@ module Spotlite
70
71
  def languages
71
72
  array = []
72
73
  details.css("div.txt-block a[href^='/language/']").each do |node|
73
- array << {:code => clean_href(node["href"]), :name => node.text.strip}
74
+ array << {:code => node["href"].clean_href, :name => node.text.strip}
74
75
  end
75
76
 
76
77
  array
@@ -106,7 +107,7 @@ module Spotlite
106
107
  def directors
107
108
  names = full_credits.at("a[name='directors']").parent.parent.parent.parent.css("a[href^='/name/nm']").map { |node| node.text } rescue []
108
109
  links = full_credits.at("a[name='directors']").parent.parent.parent.parent.css("a[href^='/name/nm']").map { |node| node["href"] } rescue []
109
- imdb_ids = links.map { |link| link[/\d+/] } unless links.empty?
110
+ imdb_ids = links.map { |link| link.parse_imdb_id } unless links.empty?
110
111
 
111
112
  array = []
112
113
  0.upto(names.size - 1) do |i|
@@ -121,7 +122,7 @@ module Spotlite
121
122
  def writers
122
123
  names = full_credits.at("a[name='writers']").parent.parent.parent.parent.css("a[href^='/name/nm']").map { |node| node.text } rescue []
123
124
  links = full_credits.at("a[name='writers']").parent.parent.parent.parent.css("a[href^='/name/nm']").map { |node| node["href"] } rescue []
124
- imdb_ids = links.map { |link| link[/\d+/] } unless links.empty?
125
+ imdb_ids = links.map { |link| link.parse_imdb_id } unless links.empty?
125
126
 
126
127
  array = []
127
128
  0.upto(names.size - 1) do |i|
@@ -136,7 +137,7 @@ module Spotlite
136
137
  def producers
137
138
  names = full_credits.at("a[name='producers']").parent.parent.parent.parent.css("a[href^='/name/nm']").map { |node| node.text } rescue []
138
139
  links = full_credits.at("a[name='producers']").parent.parent.parent.parent.css("a[href^='/name/nm']").map { |node| node["href"] } rescue []
139
- imdb_ids = links.map { |link| link[/\d+/] } unless links.empty?
140
+ imdb_ids = links.map { |link| link.parse_imdb_id } unless links.empty?
140
141
 
141
142
  array = []
142
143
  0.upto(names.size - 1) do |i|
@@ -152,7 +153,7 @@ module Spotlite
152
153
  table = full_credits.css("table.cast")
153
154
  names = table.css("td.nm").map { |node| node.text } rescue []
154
155
  links = table.css("td.nm a").map { |node| node["href"] } rescue []
155
- imdb_ids = links.map { |link| link[/\d+/] } unless links.empty?
156
+ imdb_ids = links.map { |link| link.parse_imdb_id } unless links.empty?
156
157
  characters = table.css("td.char").map { |node| node.text }
157
158
 
158
159
  array = []
@@ -177,7 +178,7 @@ module Spotlite
177
178
 
178
179
  array = []
179
180
  0.upto(regions.size - 1) do |i|
180
- array << {:code => codes[i], :region => regions[i], :date => parse_date(dates[i])}
181
+ array << {:code => codes[i], :region => regions[i], :date => dates[i].parse_date}
181
182
  end
182
183
 
183
184
  array
@@ -186,42 +187,28 @@ module Spotlite
186
187
  private
187
188
 
188
189
  def details # :nodoc:
189
- @details ||= Nokogiri::HTML(open_page(@imdb_id))
190
+ @details ||= open_page
190
191
  end
191
192
 
192
193
  def release_info # :nodoc:
193
- @release_info ||= Nokogiri::HTML(open_page(@imdb_id, "releaseinfo"))
194
+ @release_info ||= open_page("releaseinfo")
194
195
  end
195
196
 
196
197
  def full_credits # :nodoc:
197
- @full_credits ||= Nokogiri::HTML(open_page(@imdb_id, "fullcredits"))
198
+ @full_credits ||= open_page("fullcredits")
198
199
  end
199
200
 
200
201
  def plot_keywords # :nodoc:
201
- @plot_keywords ||= Nokogiri::HTML(open_page(@imdb_id, "keywords"))
202
+ @plot_keywords ||= open_page("keywords")
202
203
  end
203
204
 
204
205
  def movie_trivia # :nodoc:
205
- @movie_trivia ||= Nokogiri::HTML(open_page(@imdb_id, "trivia"))
206
+ @movie_trivia ||= open_page("trivia")
206
207
  end
207
208
 
208
- def open_page(imdb_id, page = nil) # :nodoc:
209
- open("http://www.imdb.com/title/tt#{imdb_id}/#{page}")
210
- end
211
-
212
- def parse_date(date) # :nodoc:
213
- begin
214
- date.length > 4 ? Date.parse(date) : Date.new(date.to_i)
215
- rescue
216
- nil
217
- end
218
- end
219
-
220
- def clean_href(href) # :nodoc:
221
- href = href.gsub(/\?ref.+/, "")
222
- href = href.gsub("/country/", "")
223
- href = href.gsub("/language/", "")
224
- href = href.gsub("/name/nm", "")
209
+ def open_page(page = nil) # :nodoc:
210
+ Nokogiri::HTML(open("http://www.imdb.com/title/tt#{@imdb_id}/#{page}",
211
+ "Accept-Language" => "en-us"))
225
212
  end
226
213
  end
227
214
 
@@ -0,0 +1,40 @@
1
+ require "cgi"
2
+ module Spotlite
3
+
4
+ class Search < List
5
+ attr_reader :query
6
+
7
+ SKIP = ["(TV Episode)", "(TV Series)", "(TV Movie)", "(Video)", "(Short)", "(Video Game)"]
8
+
9
+ def initialize(query)
10
+ @query = query
11
+ end
12
+
13
+ private
14
+
15
+ def page
16
+ @page ||= open_page
17
+ end
18
+
19
+ def parse_movies
20
+ page.at("table.findList").css("td.result_text").reject do |node|
21
+ # search results will only include movies
22
+ SKIP.any? { |skipped| node.text.include? skipped }
23
+ end.map do |node|
24
+ imdb_id = node.at("a[href^='/title/tt']")['href'].parse_imdb_id
25
+ title = node.at("a").text.strip
26
+ year = node.children.last.text.parse_year
27
+
28
+ [imdb_id, title, year]
29
+ end.map do |values|
30
+ Spotlite::Movie.new(*values)
31
+ end
32
+ end
33
+
34
+ def open_page
35
+ Nokogiri::HTML(open("http://www.imdb.com/find?q=#{CGI::escape(@query)}&s=all",
36
+ "Accept-Language" => "en-us"))
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,24 @@
1
+ class String
2
+
3
+ def parse_date # :nodoc:
4
+ begin
5
+ length > 4 ? Date.parse(self) : Date.new(self.to_i)
6
+ rescue ArgumentError
7
+ nil
8
+ end
9
+ end
10
+
11
+ def parse_year # :nodoc:
12
+ year = self[/\d{4}/].to_i
13
+ year > 0 ? year : nil
14
+ end
15
+
16
+ def clean_href # :nodoc:
17
+ gsub(/\?ref.+/, "").gsub("/country/", "").gsub("/language/", "")
18
+ end
19
+
20
+ def parse_imdb_id # :nodoc:
21
+ self[/\d{7}/] unless self.nil?
22
+ end
23
+
24
+ end
@@ -1,3 +1,3 @@
1
1
  module Spotlite
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -0,0 +1,817 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Fri, 22 Feb 2013 20:57:05 GMT
3
+ Server: Server
4
+ Content-Type: text/html;charset=UTF-8
5
+ Content-Language: en-US
6
+ Vary: Accept-Encoding,User-Agent
7
+ Set-Cookie: uu=BCYnoKUKCsrDVVeuyMzASiMiJ51yWrsZkC8E2sueWQq7aivcKS1rVyCNMAvDev9NRJEI3cgUAUE7%0D%0AoWOAPxhHa2jZUkKgZagg0voscbd0UHFs683G1Gwi4HI5Ay8NKkLStt5tPZ%2Bqjd0zGwL227A0%2BB8Z%0D%0AOZxngDO4WA7gw3XaZVvE4RefK3HEBcI%2FUUY5X1vTbsM2uemsMzS8HDqo6NU5DadUETuzjWJX9%2B4t%0D%0A%2FCVxyaq5NfnZ3CHYdIvj23AviaT8gDvpj3ratSIV2DpfAwcL1tgUIA%3D%3D%0D%0A; Domain=.imdb.com; Expires=Thu, 13-Mar-2081 00:11:12 GMT; Path=/
8
+ Set-Cookie: session-id=000-0000000-0000000; Domain=.imdb.com; Expires=Thu, 13-Mar-2081 00:11:12 GMT; Path=/
9
+ Set-Cookie: session-id-time=1519333025; Domain=.imdb.com; Expires=Thu, 13-Mar-2081 00:11:12 GMT; Path=/
10
+ P3P: policyref="http://i.imdb.com/images/p3p.xml",CP="CAO DSP LAW CUR ADM IVAo IVDo CONo OTPo OUR DELi PUBi OTRi BUS PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA HEA PRE LOC GOV OTC "
11
+ Transfer-Encoding: chunked
12
+
13
+
14
+
15
+
16
+ <!DOCTYPE html>
17
+ <html
18
+ xmlns:og="http://ogp.me/ns#"
19
+ xmlns:fb="http://www.facebook.com/2008/fbml">
20
+ <head>
21
+ <script type="text/javascript">var IMDbTimer={starttime: new Date().getTime(),pt:'java'};</script>
22
+
23
+ <script>(function(t){ (t.events = t.events || {})["csm_head_pre_title"] = new Date().getTime(); })(IMDbTimer);</script>
24
+ <title>Find - IMDb</title>
25
+ <script>(function(t){ (t.events = t.events || {})["csm_head_post_title"] = new Date().getTime(); })(IMDbTimer);</script>
26
+
27
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
28
+ <link rel="canonical" href="http://www.imdb.com/find" />
29
+ <meta property="og:url" content="http://www.imdb.com/find" />
30
+
31
+ <script>(function(t){ (t.events = t.events || {})["csm_head_pre_icon"] = new Date().getTime(); })(IMDbTimer);</script>
32
+ <link rel="icon" type="image/ico" href="http://ia.media-imdb.com/images/G/01/imdb/images/favicon-2165806970._V397576410_.ico" />
33
+ <link rel="shortcut icon" type="image/x-icon" href="http://ia.media-imdb.com/images/G/01/imdb/images/desktop-favicon-2165806970._V397576415_.ico" />
34
+ <link rel="apple-touch-icon" href="http://ia.media-imdb.com/images/G/01/imdb/images/apple-touch-icon-3173846443._V397576421_.png" />
35
+ <link rel="search" type="application/opensearchdescription+xml" href="http://z-ecx.images-amazon.com/images/G/01/imdb/images/imdbsearch-3349468880._V398722001_.xml" title="IMDb" />
36
+ <script>(function(t){ (t.events = t.events || {})["csm_head_post_icon"] = new Date().getTime(); })(IMDbTimer);</script>
37
+
38
+
39
+ <link rel='image_src' href="http://ia.media-imdb.com/images/G/01/imdb/images/logos/imdb_fb_logo-1730868325._V375956416_.png">
40
+ <meta property='og:image' content="http://ia.media-imdb.com/images/G/01/imdb/images/logos/imdb_fb_logo-1730868325._V375956416_.png" />
41
+
42
+ <meta property='fb:app_id' content='115109575169727' />
43
+ <meta property='og:title' content="" />
44
+ <meta property='og:site_name' content='IMDb' />
45
+ <meta name="title" content="IMDb" />
46
+ <meta name="description" content="" />
47
+ <meta property="og:description" content="" />
48
+ <meta name="request_id" content="0KCWYH2GWWVFY2HJQCEC" />
49
+
50
+ <script>(function(t){ (t.events = t.events || {})["csm_head_pre_css"] = new Date().getTime(); })(IMDbTimer);</script>
51
+ <link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/01/imdb/css/collections/consumersite-965481657._V376216331_.css" />
52
+ <!-- h=ics-1e-i-771f8e06.us-east-1 -->
53
+ <link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/01/imdb/css/app/consumersite/find-2392946780._V397576196_.css" />
54
+ <!--[if IE]><link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/01/imdb/css/collections/ie-1730957785._V376796174_.css" /><![endif]-->
55
+ <script>(function(t){ (t.events = t.events || {})["csm_head_post_css"] = new Date().getTime(); })(IMDbTimer);</script>
56
+
57
+ <script>(function(t){ (t.events = t.events || {})["csm_head_pre_ads"] = new Date().getTime(); })(IMDbTimer);</script>
58
+ <!-- begin ads header -->
59
+ <script>window.ads_js_start = new Date().getTime();</script>
60
+ <script src="http://z-ecx.images-amazon.com/images/G/01/imdbads/js/collections/ads-34659498._V376401274_.js"></script>
61
+ <script>generic.monitoring.record_metric("ads_js_request_to_done", (new Date().getTime()) - window.ads_js_start);</script>
62
+ <script>
63
+ (function(url,itemName,h,w) {
64
+ if (flashAdUtils.canPlayFlash(9)) {
65
+ var flashTags = flashAdUtils.makeFlashAd({ id:itemName, src:url, height:h, width:w });
66
+ document.write('<div style="position:absolute;visibility:hidden;">' + flashTags + '</div>');
67
+ }
68
+ })("http://ia.media-imdb.com/images/M/MV5BMTMzMzgxNzM2M15BMl5Bc3dmXkFtZTcwNzM0MTkxNw@@._V1_.swf","baker",1,1);
69
+ // Stuff that we need to try a little harder on still...
70
+ // TODO: weblab stuff
71
+ generic.monitoring.set_forester_info("main");
72
+ generic.monitoring.set_twilight_info(
73
+ "main",
74
+ "EE",
75
+ "e47ffc0d742fc447c9eeacdd66bb8da28a4ffaea",
76
+ "2013-02-22T20%3A57%3A05GMT",
77
+ "http://s.media-imdb.com/twilight/?");
78
+ generic.send_csm_head_metrics && generic.send_csm_head_metrics();
79
+ generic.monitoring.start_timing("page_load");
80
+ generic.seconds_to_midnight = 39775;
81
+ generic.days_to_midnight = 0.4603587985038757;
82
+ custom.full_page.data_url = "http://z-ecx.images-amazon.com/images/G/01/imdbads/js/graffiti_data-2891791370._V397576203_.js";
83
+ ad_utils.ad_prediction.init();
84
+ consoleLog('advertising initialized','ads');
85
+ var _gaq = _gaq || [];
86
+ _gaq.push(['_setCustomVar', 4, 'ads_abtest_treatment', 'f']);
87
+ </script>
88
+ <script>
89
+ (function(url,onload,oncall) {
90
+ var elem = document.createElement('script'),
91
+ script = document.getElementsByTagName('script')[0],
92
+ final_url = url.replace(ad_utils.ord_regex, ad_utils.ord);
93
+ if (! navigator.userAgent.match('Firefox/(1|2)\\.')) {
94
+ elem.async = true;
95
+ elem.src = final_url;
96
+ if (onload) {
97
+ elem.onload = onload;
98
+ }
99
+ script.parentNode.insertBefore(elem, script);
100
+ if (oncall) {
101
+ oncall();
102
+ }
103
+ }
104
+ })("http://www.amazon.com/aan/2009-05-01/imdb/default?slot=sitewide-iframe&u=[CLIENT_SIDE_ORD]&ord=[CLIENT_SIDE_ORD]",undefined,custom.amazon.aan_iframe_oncall);
105
+ </script>
106
+ <!-- end ads header -->
107
+
108
+ <script>
109
+ if ('csm' in window) {
110
+ csm.measure('csm_head_delivery_finished');
111
+ }
112
+ </script>
113
+ </head>
114
+ <body id="styleguide-v2" class="fixed">
115
+ <script>
116
+ if ('csm' in window) {
117
+ csm.measure('csm_body_delivery_started');
118
+ }
119
+ </script>
120
+ <div id="wrapper">
121
+ <div id="root" class="redesign">
122
+ <div id="nb20" class="navbarSprite">
123
+ <div id="supertab">
124
+ <!-- begin TOP_AD -->
125
+ <div id="top_ad_wrapper" class="dfp_slot">
126
+ <script type="text/javascript">
127
+ ad_utils.register_ad('top_ad');
128
+ </script>
129
+ <iframe data-dart-params="#imdb2.consumer.main/find;!TILE!;sz=728x90,1008x150,1008x200,1008x30,970x250,9x1;p=top;p=t;fv=1;ab=f;bpx=1;oe=utf-8;[CLIENT_SIDE_KEYVALUES];[PASEGMENTS];u=[CLIENT_SIDE_ORD];ord=[CLIENT_SIDE_ORD]?" id="top_ad" name="top_ad" class="yesScript" width="0" height="85" data-config-width="0" data-config-height="85" data-cookie-width="null" data-cookie-height="null" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" allowtransparency="true" onload="ad_utils.on_ad_load(this)"></iframe>
130
+ <noscript><a href="http//ad.doubleclick.net/jump/imdb2.consumer.main/find;tile=2;sz=728x90,1008x150,1008x200,1008x30,970x250,9x1;p=top;p=t;fv=1;ab=f;bpx=1;ord=769782999510?" target="_blank"><img src="http//ad.doubleclick.net/ad/imdb2.consumer.main/find;tile=2;sz=728x90,1008x150,1008x200,1008x30,970x250,9x1;p=top;p=t;fv=1;ab=f;bpx=1;ord=769782999510?" border="0" alt="advertisement" /></a></noscript>
131
+ </div>
132
+ <div id="top_ad_reflow_helper"></div>
133
+ <script>ad_utils.render_ad_fast('top_ad');</script>
134
+ <!-- End TOP_AD -->
135
+
136
+ </div>
137
+ <div id="navbar" class="navbarSprite">
138
+ <noscript>
139
+ <link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/01/imdb/css/site/consumer-navbar-no-js-4175877511._V397576211_.css" />
140
+ </noscript>
141
+ <!--[if IE]><link rel="stylesheet" type="text/css" href="http://z-ecx.images-amazon.com/images/G/01/imdb/css/site/consumer-navbar-ie-470687728._V397576211_.css"><![endif]-->
142
+ <span id="home_img_holder">
143
+ <a
144
+ onclick="(new Image()).src='/rg/home/navbar/images/b.gif?link=/';"
145
+ href="/"
146
+ title="Home"
147
+ class="navbarSprite"
148
+ id="home_img"
149
+ ></a> <span class="alt_logo">
150
+ <a
151
+ onclick="(new Image()).src='/rg/home/navbar/images/b.gif?link=/';"
152
+ href="/"
153
+ title="Home"
154
+ >IMDb</a>
155
+ </span>
156
+ </span>
157
+ <form
158
+ onsubmit="(new Image()).src='/rg/SEARCH-BOX/HEADER/images/b.gif?link=/find';"
159
+ method="get"
160
+ action="/find"
161
+ class="nav-searchbar-inner"
162
+ id="navbar-form"
163
+
164
+ >
165
+ <div id="nb_search">
166
+ <noscript><div id="more_if_no_javascript"><a href="/search/">More</a></div></noscript>
167
+ <button id="navbar-submit-button" class="primary btn" type="submit"><div class="magnifyingglass navbarSprite"></div></button>
168
+ <input type="text" autocomplete="off" value="the core" name="q" id="navbar-query" placeholder="Find Movies, TV shows, Celebrities and more...">
169
+ <div class="quicksearch_dropdown_wrapper">
170
+ <select name="s" id="quicksearch" class="quicksearch_dropdown navbarSprite"
171
+ onchange="jumpMenu(this); suggestionsearch_dropdown_choice(this);">
172
+ <option value="all" >All</option>
173
+ <option value="tt" >Titles</option>
174
+ <option value="ep" >TV Episodes</option>
175
+ <option value="nm" >Names</option>
176
+ <option value="co" >Companies</option>
177
+ <option value="kw" >Keywords</option>
178
+ <option value="ch" >Characters</option>
179
+ <option value="vi" >Videos</option>
180
+ <option value="qu" >Quotes</option>
181
+ <option value="bi" >Bios</option>
182
+ <option value="pl" >Plots</option>
183
+ </select>
184
+ </div>
185
+ <div id="navbar-suggestionsearch"></div>
186
+ </div>
187
+ </form>
188
+ <div id="nb_personal">
189
+ <a
190
+ onclick="(new Image()).src='/rg/register-v2/navbar/images/b.gif?link=https://secure.imdb.com/register-imdb/form-v2';"
191
+ href="https://secure.imdb.com/register-imdb/form-v2"
192
+ >Register</a>
193
+ | <a
194
+ onclick="(new Image()).src='/rg/login/navbar/images/b.gif?link=/register/login';"
195
+ rel="login"
196
+ href="/register/login"
197
+ id="nblogin"
198
+ >Login</a>
199
+ | <a
200
+ onclick="(new Image()).src='/rg/help/navbar/images/b.gif?link=/help/';"
201
+ href="/help/"
202
+ >Help</a>
203
+ </div>
204
+ <div>
205
+ <ul id="consumer_main_nav" class="main_nav">
206
+ <li class="css_nav_item" aria-haspopup="true">
207
+ <a href="/movies-in-theaters/?ref_=nb_mv_1_inth" class="navbarSprite" >Movies</a>
208
+ <ul class="sub_nav">
209
+ <li><a href="/movies-in-theaters/?ref_=nb_mv_2_inth" >In Theaters</a></li>
210
+ <li><a href="/chart/top?ref_=nb_mv_3_chttp" >Top 250</a></li>
211
+ <li><a href="/chart/?ref_=nb_mv_4_cht" >US Box Office</a></li>
212
+ <li><a href="/movies-coming-soon/?ref_=nb_mv_5_cs" >Coming Soon</a></li>
213
+ <li><a href="/trailers?ref_=nb_mv_6_tr" >Trailer Gallery</a></li>
214
+ <li><a href="/watchnow/?ref_=nb_mv_7_wn" >Watch Now on AIV</a></li>
215
+ <li><a href="/sections/dvd/?ref_=nb_mv_8_dvd" >On DVD & Blu-Ray</a></li>
216
+ <li><a href="/x-ray/?ref_=nb_mv_9_xray" >X-Ray for Movies</a></li>
217
+ <li><a href="/oscars/?ref_=nb_mv_10_rto" >Road to the Oscars</a></li>
218
+ </ul>
219
+ </li>
220
+ <li class="css_nav_item" aria-haspopup="true">
221
+ <a href="/tv/?ref_=nb_tv_1_hm" class="navbarSprite" >TV</a>
222
+ <ul class="sub_nav">
223
+ <li><a href="/tv/?ref_=nb_tv_2_hm" >TV Home</a></li>
224
+ <li><a href="/search/title?num_votes=5000,&sort=user_rating,desc&title_type=tv_series&ref_=nb_tv_3_srs" >Top TV Series</a></li>
225
+ <li><a href="/tvgrid/?ref_=nb_tv_4_ls" >TV Listings</a></li>
226
+ <li><a href="/features/video/tv/?ref_=nb_tv_5_ep" >TV Episodes</a></li>
227
+ </ul>
228
+ </li>
229
+ <li class="css_nav_item" aria-haspopup="true">
230
+ <a href="/news/top?ref_=nb_nw_1_tp" class="navbarSprite" >News</a>
231
+ <ul class="sub_nav">
232
+ <li><a href="/news/top?ref_=nb_nw_2_tp" >Top News</a></li>
233
+ <li><a href="/news/movie?ref_=nb_nw_3_mv" >Movie News</a></li>
234
+ <li><a href="/news/tv?ref_=nb_nw_4_tv" >TV News</a></li>
235
+ <li><a href="/news/celebrity?ref_=nb_nw_5_cel" >Celebrity News</a></li>
236
+ </ul>
237
+ </li>
238
+ <li class="css_nav_item" aria-haspopup="true">
239
+ <a href="/showtimes/?ref_=nb_sh_1_sh" class="navbarSprite" >Showtimes</a>
240
+ <ul class="sub_nav">
241
+ <li><a href="/showtimes/?ref_=nb_sh_2_sh" >Movie Showtimes</a></li>
242
+ </ul>
243
+ </li>
244
+ <li class="css_nav_item" aria-haspopup="true">
245
+ <a href="/boards/?ref_=nb_cm_1_bd" class="navbarSprite" >Community</a>
246
+ <ul class="sub_nav">
247
+ <li><a href="/boards/?ref_=nb_cm_2_bd" >Message Boards</a></li>
248
+ <li><a href="/lists?ref_=nb_cm_3_nls" >Newest Lists</a></li>
249
+ <li><a href="/profile/lists?ref_=nb_cm_4_yls" >Your Lists</a></li>
250
+ <li><a href="/list/ratings?ref_=nb_cm_5_yrt" >Your Ratings</a></li>
251
+ <li><a href="/czone/?ref_=nb_cm_6_cz" >Contributor Zone</a></li>
252
+ <li><a href="/games/guess?ref_=nb_cm_7_qz" >Quiz Game</a></li>
253
+ </ul>
254
+ </li>
255
+ <li class="css_nav_item" aria-haspopup="true">
256
+ <a
257
+ onclick="(new Image()).src='/rg/imdbprohome/navbar/images/b.gif?link=/r/IMDbTabNB/';"
258
+ href="/r/IMDbTabNB/"
259
+ class="navbarSprite"
260
+ >IMDbPro</a>
261
+ <ul class="sub_nav">
262
+ <li><a
263
+ onclick="(new Image()).src='/rg/resume/prosystem/images/b.gif?link=/r/Resume/resume/';"
264
+ href="/r/Resume/resume/"
265
+ >Add a Resume</a></li>
266
+ <li><a
267
+ onclick="(new Image()).src='/rg/procontact/navbar/images/b.gif?link=/r/nm_ovrview_contact/representation/';"
268
+ href="/r/nm_ovrview_contact/representation/"
269
+ >Contact Info</a></li>
270
+ <li><a
271
+ onclick="(new Image()).src='/rg/demoreels/navbar/images/b.gif?link=/r/DemoReels/demoreels/list';"
272
+ href="/r/DemoReels/demoreels/list"
273
+ >Add Demo Reels</a></li>
274
+ </ul>
275
+ </li>
276
+ <li class="css_nav_item" aria-haspopup="true">
277
+ <a href="/apps/?ref_=nb_app_1_hm" class="navbarSprite" >Apps</a>
278
+ <ul class="sub_nav">
279
+ <li><a href="/apps/?ref_=nb_app_2_hm" >Apps Home</a></li>
280
+ <li><a href="/apps/ios/?ref_=nb_app_3_ios" >iPhone + iPad Apps</a></li>
281
+ <li><a href="/apps/android/?ref_=nb_app_4_andr" >Android Apps</a></li>
282
+ <li><a href="/apps/kindlefire/?ref_=nb_app_5_fire" >Kindle Fire App</a></li>
283
+ </ul>
284
+ </li>
285
+ </ul>
286
+ </div>
287
+ <div class="nb_extra">
288
+ <a
289
+ onclick="(new Image()).src='/rg/watchlist/navbar/images/b.gif?link=/list/watchlist';"
290
+ href="/list/watchlist"
291
+ >Your Watchlist</a>
292
+ </div>
293
+ </div>
294
+ </div>
295
+
296
+ <!-- ad NAVSTRIP explicitly blocked by const list -->
297
+
298
+
299
+ <!-- begin injectable INJECTED_NAVSTRIP -->
300
+ <div id="injected_navstrip_wrapper" class="injected_slot">
301
+ <iframe id="injected_navstrip" name="injected_navstrip" class="yesScript" width="0" height="0" data-config-width="0" data-config-height="0" data-cookie-width="null" data-cookie-height="null" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" allowtransparency="true" onload="ad_utils.on_ad_load(this)"></iframe> </div>
302
+ <script>ad_utils.inject_ad.register('injected_navstrip');</script>
303
+ <div id="injected_navstrip_reflow_helper"></div>
304
+ <!-- end injectable INJECTED_NAVSTRIP -->
305
+
306
+ <div id="pagecontent" itemscope itemtype="http://schema.org/Movie">
307
+
308
+ <!-- begin injectable INJECTED_BILLBOARD -->
309
+ <div id="injected_billboard_wrapper" class="injected_slot">
310
+ <iframe id="injected_billboard" name="injected_billboard" class="yesScript" width="0" height="0" data-config-width="0" data-config-height="0" data-cookie-width="null" data-cookie-height="null" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" allowtransparency="true" onload="ad_utils.on_ad_load(this)"></iframe> </div>
311
+ <script>ad_utils.inject_ad.register('injected_billboard');</script>
312
+ <div id="injected_billboard_reflow_helper"></div>
313
+ <!-- end injectable INJECTED_BILLBOARD -->
314
+
315
+ <div id="content-2-wide">
316
+ <div id="main">
317
+ <div class="article">
318
+ <h1 class="findHeader">Results for <span class="findSearchTerm">"the core"</span></h1>
319
+
320
+
321
+ <div id="findSubHeader"><span id="findSubHeaderLabel">Jump to:</span>
322
+ <a href="#tt">Titles</a>
323
+ <span class="ghost">|</span>
324
+ <a href="#nm">Names</a>
325
+ <span class="ghost">|</span>
326
+ <a href="#ch">Characters</a>
327
+ <span class="ghost">|</span>
328
+ <a href="#kw">Keywords</a>
329
+ <span class="ghost">|</span>
330
+ <a href="#co">Companies</a>
331
+
332
+ </div>
333
+
334
+ <div class="findSection">
335
+ <h3 class="findSectionHeader"><a name="tt"></a>Titles</h3>
336
+ <table class="findList">
337
+ <tr class="findResult odd"> <td class="primary_photo"> <a href="/title/tt0298814/?ref_=fn_al_tt_1" ><img src="http://ia.media-imdb.com/images/M/MV5BMTY3MTY3MzkzNl5BMl5BanBnXkFtZTYwNTAwNDk2._V1_SX32_CR0,0,32,44_.jpg" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/title/tt0298814/?ref_=fn_al_tt_1" >The Core</a> (2003) </td> </tr><tr class="findResult even"> <td class="primary_photo"> <a href="/title/tt0796308/?ref_=fn_al_tt_2" ><img src="http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/film-3119741174._V397576370_.png" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/title/tt0796308/?ref_=fn_al_tt_2" >The Core</a> (2005) </td> </tr><tr class="findResult odd"> <td class="primary_photo"> <a href="/title/tt0808845/?ref_=fn_al_tt_3" ><img src="http://ia.media-imdb.com/images/M/MV5BMTI3NTI0MjM5M15BMl5BanBnXkFtZTcwOTc1NDgyMQ@@._V1_SY44_CR9,0,32,44_.jpg" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/title/tt0808845/?ref_=fn_al_tt_3" >The Core</a> (1985) (TV Episode) <br/><small>- <a href="/title/tt0086817/?ref_=fn_al_tt_3a" >The Transformers</a> (1984) (TV Series) </small> </td> </tr><tr class="findResult even"> <td class="primary_photo"> <a href="/title/tt0202314/?ref_=fn_al_tt_4" ><img src="http://ia.media-imdb.com/images/M/MV5BMjE5NTUwOTEwMF5BMl5BanBnXkFtZTcwNDM2NzIyMQ@@._V1_SX32_CR0,0,32,44_.jpg" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/title/tt0202314/?ref_=fn_al_tt_4" >Deep Core</a> (2000) </td> </tr><tr class="findResult odd"> <td class="primary_photo"> <a href="/title/tt0074157/?ref_=fn_al_tt_5" ><img src="http://ia.media-imdb.com/images/M/MV5BMTQ0ODcyNzAzOV5BMl5BanBnXkFtZTcwMDI4OTMyMQ@@._V1_SX32_CR0,0,32,44_.jpg" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/title/tt0074157/?ref_=fn_al_tt_5" >At the Earth's Core</a> (1976) </td> </tr><tr class="findResult even"> <td class="primary_photo"> <a href="/title/tt1625562/?ref_=fn_al_tt_6" ><img src="http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/film-3119741174._V397576370_.png" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/title/tt1625562/?ref_=fn_al_tt_6" >Hard Core Logo 2</a> (2010) </td> </tr><tr class="findResult odd"> <td class="primary_photo"> <a href="/title/tt0116488/?ref_=fn_al_tt_7" ><img src="http://ia.media-imdb.com/images/M/MV5BMTYwNzMyMzg1N15BMl5BanBnXkFtZTcwMDQ4OTQyMQ@@._V1_SX32_CR0,0,32,44_.jpg" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/title/tt0116488/?ref_=fn_al_tt_7" >Hard Core Logo</a> (1996) </td> </tr><tr class="findResult even"> <td class="primary_photo"> <a href="/title/tt0483593/?ref_=fn_al_tt_8" ><img src="http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/film-3119741174._V397576370_.png" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/title/tt0483593/?ref_=fn_al_tt_8" >Crisis Core: Final Fantasy VII</a> (2007) (Video Game) </td> </tr><tr class="findResult odd"> <td class="primary_photo"> <a href="/title/tt1292010/?ref_=fn_al_tt_9" ><img src="http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/film-3119741174._V397576370_.png" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/title/tt1292010/?ref_=fn_al_tt_9" >Armored Core: For Answer</a> (2008) (Video Game) </td> </tr><tr class="findResult even"> <td class="primary_photo"> <a href="/title/tt2313802/?ref_=fn_al_tt_10" ><img src="http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/film-3119741174._V397576370_.png" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/title/tt2313802/?ref_=fn_al_tt_10" >Exhale: Core Fusion Thighs & Glutes</a> (2009) </td> </tr></table>
338
+ <div class="findMoreMatches">
339
+ View:&nbsp; <a href="/find?q=the core&amp;s=tt&ref_=fn_al_tt_mr" >More title matches</a>
340
+ &nbsp;or&nbsp;
341
+ <a href="/find?q=the core&amp;s=tt&amp;exact=true&ref_=fn_al_tt_ex" >Exact title matches</a>
342
+ </div>
343
+ </div>
344
+ <div class="findSection">
345
+ <h3 class="findSectionHeader"><a name="nm"></a>Names</h3>
346
+ <table class="findList">
347
+ <tr class="findResult odd"> <td class="primary_photo"> <a href="/name/nm0179702/?ref_=fn_al_nm_1" ><img src="http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/name-2138558783._V397576332_.png" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/name/nm0179702/?ref_=fn_al_nm_1" >Natalie Core</a> <small>(Actress, <a href="/title/tt0116151/?ref_=fn_al_nm_1a" >Dunston Checks In</a> (1996))</small></td> </tr><tr class="findResult even"> <td class="primary_photo"> <a href="/name/nm0179697/?ref_=fn_al_nm_2" ><img src="http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/name-2138558783._V397576332_.png" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/name/nm0179697/?ref_=fn_al_nm_2" >Ericson Core</a> <small>(Cinematographer, <a href="/title/tt0232500/?ref_=fn_al_nm_2a" >The Fast and the Furious</a> (2001))</small></td> </tr><tr class="findResult odd"> <td class="primary_photo"> <a href="/name/nm0179759/?ref_=fn_al_nm_3" ><img src="http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/name-2138558783._V397576332_.png" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/name/nm0179759/?ref_=fn_al_nm_3" >Macusa Cores</a> <small>(Camera Department, <a href="/title/tt0095675/?ref_=fn_al_nm_3a" >Women on the Verge of a Nervous Breakdown</a> (1988))</small></td> </tr><tr class="findResult even"> <td class="primary_photo"> <a href="/name/nm0179754/?ref_=fn_al_nm_4" ><img src="http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/name-2138558783._V397576332_.png" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/name/nm0179754/?ref_=fn_al_nm_4" >Rafael Corés</a> <small>(Actor, <a href="/title/tt0322581/?ref_=fn_al_nm_4a" >El hombre que mató a Mengele</a> (1985))</small></td> </tr><tr class="findResult odd"> <td class="primary_photo"> <a href="/name/nm0179757/?ref_=fn_al_nm_5" ><img src="http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/name-2138558783._V397576332_.png" height="44" width="32" /></a> </td> <td class="result_text"> <a href="/name/nm0179757/?ref_=fn_al_nm_5" >Carlos Cores</a> <small>(Actor, <a href="/title/tt0180721/?ref_=fn_al_nm_5a" >The Bastard</a> (1954))</small></td> </tr></table>
348
+ <div class="findMoreMatches">
349
+ View:&nbsp; <a href="/find?q=the core&amp;s=nm&ref_=fn_al_nm_mr" >More name matches</a>
350
+ </div>
351
+ </div>
352
+ <div class="findSection">
353
+ <h3 class="findSectionHeader"><a name="ch"></a>Characters</h3>
354
+ <table class="findList">
355
+ <tr class="findResult odd"> <td class="result_text" colspan="2"> <a href="/character/ch0037750/?ref_=fn_al_ch_1" >Coré</a> <small>(<a href="/title/tt0204700/?ref_=fn_al_ch_1a" >Trouble Every Day</a> (2001))</small></td> </tr><tr class="findResult even"> <td class="result_text" colspan="2"> <a href="/character/ch0063334/?ref_=fn_al_ch_2" >Core Cougar</a> <small>(<a href="/title/tt0795361/?ref_=fn_al_ch_2a" >Cougar Club</a> (2007))</small></td> </tr><tr class="findResult odd"> <td class="result_text" colspan="2"> <a href="/character/ch0287836/?ref_=fn_al_ch_3" >Core follower</a> <small>(<a href="/title/tt1560747/?ref_=fn_al_ch_3a" >The Master</a> (2012))</small></td> </tr><tr class="findResult even"> <td class="result_text" colspan="2"> <a href="/character/ch0113178/?ref_=fn_al_ch_4" >Core Staffer</a> <small>(<a href="/title/tt0200276/?ref_=fn_al_ch_4a" >The West Wing</a> (1999))</small></td> </tr><tr class="findResult odd"> <td class="result_text" colspan="2"> <a href="/character/ch0187146/?ref_=fn_al_ch_5" >Core nurse</a> <small>(<a href="/title/tt1442435/?ref_=fn_al_ch_5a" >Mercy</a> (2009))</small></td> </tr></table>
356
+ <div class="findMoreMatches">
357
+ View:&nbsp; <a href="/find?q=the core&amp;s=ch&ref_=fn_al_ch_mr" >More character matches</a>
358
+ </div>
359
+ </div>
360
+ <div class="findSection">
361
+ <h3 class="findSectionHeader"><a name="kw"></a>Keywords</h3>
362
+ <table class="findList">
363
+ <tr class="findResult odd"> <td class="result_text" colspan="2"> <a href="/keyword/core/?ref_=fn_al_kw_1" >core</a> (14 titles) </td> </tr><tr class="findResult even"> <td class="result_text" colspan="2"> <a href="/keyword/core-sample/?ref_=fn_al_kw_2" >core-sample</a> (6 titles) </td> </tr><tr class="findResult odd"> <td class="result_text" colspan="2"> <a href="/keyword/core-strength/?ref_=fn_al_kw_3" >core-strength</a> (1 title) </td> </tr><tr class="findResult even"> <td class="result_text" colspan="2"> <a href="/keyword/warp-core/?ref_=fn_al_kw_4" >warp-core</a> (1 title) </td> </tr><tr class="findResult odd"> <td class="result_text" colspan="2"> <a href="/keyword/apple-core/?ref_=fn_al_kw_5" >apple-core</a> (7 titles) </td> </tr></table>
364
+ <div class="findMoreMatches">
365
+ View:&nbsp; <a href="/find?q=the core&amp;s=kw&ref_=fn_al_kw_mr" >More keyword matches</a>
366
+ </div>
367
+ </div>
368
+ <div class="findSection">
369
+ <h3 class="findSectionHeader"><a name="co"></a>Companies</h3>
370
+ <table class="findList">
371
+ <tr class="findResult odd"> <td class="result_text" colspan="2"> <a href="/company/co0106601/?ref_=fn_al_co_1" >Core Public Relations Group</a> [us] (Publicist) </td> </tr><tr class="findResult even"> <td class="result_text" colspan="2"> <a href="/company/co0120865/?ref_=fn_al_co_2" >Core Entertainment</a> [us] (Management) </td> </tr><tr class="findResult odd"> <td class="result_text" colspan="2"> <a href="/company/co0219352/?ref_=fn_al_co_3" >CORE Media Group</a> [us] </td> </tr><tr class="findResult even"> <td class="result_text" colspan="2"> <a href="/company/co0083707/?ref_=fn_al_co_4" >Core Group Talent Agencies, The</a> [ca] </td> </tr><tr class="findResult odd"> <td class="result_text" colspan="2"> <a href="/company/co0134034/?ref_=fn_al_co_5" >Core Management</a> </td> </tr></table>
372
+ <div class="findMoreMatches">
373
+ View:&nbsp; <a href="/find?q=the core&amp;s=co&ref_=fn_al_co_mr" >More company matches</a>
374
+ </div>
375
+ </div>
376
+
377
+ <div id="afs_sponsored_links" name="afs_sponsored_links"></div>
378
+ <!-- sid: n-channel : MIDDLE_CENTER -->
379
+ <script type="text/javascript">
380
+ var parentDiv = document.getElementById('afs_sponsored_links'),
381
+ geo = "EE",
382
+ query = "the+core",
383
+ titleString = "Sponsored Links",
384
+ helpString = "What's This?";
385
+ try {
386
+ if (parentDiv && query) {
387
+ google_afs_ad = 'w3'; google_afs_client = 'amazon-imdb'; google_afs_channel = 'n-channel'; google_afs_adsafe = 'high'; google_afs_adtest = 'on';
388
+ google_afs_query = query;
389
+ if (geo) { google_afs_gl = google_afs_hl = geo;}
390
+ }
391
+ } catch (e) { }
392
+ function google_afs_request_done(google_ads) {
393
+ try {
394
+ if ( !parentDiv || !titleString ) return;
395
+ var s='',n=google_ads.length;
396
+ if (n == 0) return;
397
+ s+='<p><b>'+titleString+'</b> <a href=\"/help/show_leaf?sponsoredlinks\">'+helpString+'</a><!-- display n results --></p><ul>';
398
+ for (var x = 0; x < n; x++) {
399
+ s+='<li><a href="'+google_ads[x].url+'" target="_top" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+google_ads[x].visible_url+'\';return true;" style="text-decoration:none"><span style="text-decoration:underline;">'+google_ads[x].line1+'<br></span>';
400
+ if (google_ads[x].line2) s+='<small style="color:#000000;">'+google_ads[x].line2+'</small><br>';
401
+ s+='<small style="color:#003399;">'+google_ads[x].visible_url+'</small></a>'; if (x+1<n) { s+="<br><br>";} s+='</li>';
402
+ }
403
+ s+="</ul>";
404
+ parentDiv.innerHTML = s;
405
+ } catch (e) { }
406
+ return;
407
+ }
408
+ </script>
409
+ <script language="JavaScript" src="http://www.google.com/afsonline/show_afs_ads.js"></script>
410
+
411
+
412
+ </div>
413
+ </div>
414
+
415
+ <div id="sidebar">
416
+ <div class="message_box" id="findMessageBox">
417
+ <div class="info">
418
+ <h2>New IMDb Search Page</h2>
419
+ <p>You may have noticed the new look for IMDb's search results.
420
+ <a href="/help/show_leaf?find&ref_=fn_hlp" >Learn more about the change.</a>
421
+ </div>
422
+ </div>
423
+
424
+
425
+
426
+ <!-- begin TOP_RHS -->
427
+ <div id="top_rhs_wrapper" class="dfp_slot">
428
+ <script type="text/javascript">
429
+ ad_utils.register_ad('top_rhs');
430
+ </script>
431
+ <iframe data-dart-params="#imdb2.consumer.main/find;!TILE!;sz=300x250,11x1;p=tr;fv=1;ab=f;bpx=1;oe=utf-8;[CLIENT_SIDE_KEYVALUES];[PASEGMENTS];u=[CLIENT_SIDE_ORD];ord=[CLIENT_SIDE_ORD]?" id="top_rhs" name="top_rhs" class="yesScript" width="300" height="250" data-config-width="300" data-config-height="250" data-cookie-width="null" data-cookie-height="null" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" allowtransparency="true" onload="ad_utils.on_ad_load(this)"></iframe>
432
+ <noscript><a href="http//ad.doubleclick.net/jump/imdb2.consumer.main/find;tile=1;sz=300x250,11x1;p=tr;fv=1;ab=f;bpx=1;ord=769782999510?" target="_blank"><img src="http//ad.doubleclick.net/ad/imdb2.consumer.main/find;tile=1;sz=300x250,11x1;p=tr;fv=1;ab=f;bpx=1;ord=769782999510?" border="0" alt="advertisement" /></a></noscript>
433
+ </div>
434
+ <div id="top_rhs_reflow_helper"></div>
435
+ <script>ad_utils.render_ad_fast('top_rhs');</script>
436
+ <div id="top_rhs_after" class="after_ad">
437
+ <a class="yesScript" href="#" onclick="ad_utils.show_ad_feedback('top_rhs');return false;" id="ad_feedback_top_rhs">ad feedback</a>
438
+ </div>
439
+ <!-- End TOP_RHS -->
440
+
441
+
442
+ <div class="aux-content-widget-3">
443
+ <h3>Category Search</h3>
444
+ <p>Search for "the core" within a specific category:
445
+ <ul class="findFilterList">
446
+ <li class="filterActive">All</li>
447
+ <li ><a href="/find?q=the core&amp;s=nm&ref_=fn_nm" >Name</a> <span>(actor, writer, director, etc)</span></li>
448
+ <li ><a href="/find?q=the core&amp;s=tt&ref_=fn_tt" >Title</a> <span>(movie, TV, video game)</span></li>
449
+ <ul class="findTitleSubfilterList">
450
+ <li ><a href="/find?q=the core&amp;s=tt&amp;ttype=ft&ref_=fn_ft" >Movie</a></li>
451
+ <li ><a href="/find?q=the core&amp;s=tt&amp;ttype=tv&ref_=fn_tv" >TV</a></li>
452
+ <li ><a href="/find?q=the core&amp;s=tt&amp;ttype=ep&ref_=fn_ep" >TV Episode</a></li>
453
+ <li ><a href="/find?q=the core&amp;s=tt&amp;ttype=vg&ref_=fn_vg" >Video Game</a></li>
454
+ </ul>
455
+ <li ><a href="/find?q=the core&amp;s=ch&ref_=fn_ch" >Character</a></li>
456
+ <li ><a href="/find?q=the core&amp;s=co&ref_=fn_co" >Company</a></li>
457
+ <li ><a href="/find?q=the core&amp;s=kw&ref_=fn_kw" >Keyword</a></li>
458
+
459
+ <li><a href="/search/videos/?q=the core&ref_=fn_vi" >Videos</a></li>
460
+ <li><a href="/search/text?realm=title&amp;field=plot&amp;q=the core&ref_=fn_pl" >Plot Summaries</a></li>
461
+ <li><a href="/search/text?realm=name&amp;field=bio&amp;q=the core&ref_=fn_bi" >Biographies</a></li>
462
+ <li><a href="/search/text?realm=title&amp;field=quotes&amp;q=the core&ref_=fn_qu" >Quotes</a></li>
463
+ </ul>
464
+ </div>
465
+ <div class="aux-content-widget-3">
466
+ <h3>Additional Search Options</h3>
467
+ <ul class="findSearchOptionsList">
468
+ <li><a href="/search/?ref_=fn_asr" >Advanced Search</a></li>
469
+ <li><a href="/search/title?ref_=fn_asr_tt" >Advanced Title Search</a></li>
470
+ <li><a href="/search/name?ref_=fn_asr_nm" >Advanced Name Search</a></li>
471
+ </ul>
472
+ <hr />
473
+ <div class="findEnableAdultToggle">
474
+ <a href="/register/login?ref_=fn_ad" >Log in</a> to enable adult titles/names in your searches.
475
+ </div>
476
+ </div>
477
+
478
+
479
+ <!-- no content received for slot: bottom_rhs -->
480
+
481
+ </div>
482
+ </div>
483
+ <br class="clear" />
484
+ </div>
485
+
486
+
487
+ <div id="footer" class="ft">
488
+ <hr width="100%" size=1>
489
+ <div id="rvi-div">
490
+ <div class="recently-viewed">&nbsp;</div>
491
+ <br class="clear">
492
+ <hr width="100%" size="1">
493
+ </div>
494
+ <p class="footer" align="center">
495
+ <a
496
+ onclick="(new Image()).src='/rg/home/footer/images/b.gif?link=/';"
497
+ href="/"
498
+ >Home</a>
499
+ | <a
500
+ onclick="(new Image()).src='/rg/search/footer/images/b.gif?link=/search';"
501
+ href="/search"
502
+ >Search</a>
503
+ | <a
504
+ onclick="(new Image()).src='/rg/siteindex/footer/images/b.gif?link=/a2z';"
505
+ href="/a2z"
506
+ >Site Index</a>
507
+ | <a
508
+ onclick="(new Image()).src='/rg/intheaters/footer/images/b.gif?link=/movies-in-theaters/';"
509
+ href="/movies-in-theaters/"
510
+ >In Theaters</a>
511
+ | <a
512
+ onclick="(new Image()).src='/rg/comingsoon/footer/images/b.gif?link=/movies-coming-soon/';"
513
+ href="/movies-coming-soon/"
514
+ >Coming Soon</a>
515
+ | <a
516
+ onclick="(new Image()).src='/rg/topmovies/footer/images/b.gif?link=/chart/';"
517
+ href="/chart/"
518
+ >Top Movies</a>
519
+ | <a
520
+ onclick="(new Image()).src='/rg/watchlist/footer/images/b.gif?link=/list/watchlist';"
521
+ href="/list/watchlist"
522
+ >Watchlist</a>
523
+ | <a
524
+ onclick="(new Image()).src='/rg/top250/footer/images/b.gif?link=/chart/top';"
525
+ href="/chart/top"
526
+ >Top 250</a>
527
+ | <a
528
+ onclick="(new Image()).src='/rg/tv/footer/images/b.gif?link=/sections/tv/';"
529
+ href="/sections/tv/"
530
+ >TV</a>
531
+ | <a
532
+ onclick="(new Image()).src='/rg/news/footer/images/b.gif?link=/news/';"
533
+ href="/news/"
534
+ >News</a>
535
+ | <a
536
+ onclick="(new Image()).src='/rg/video/footer/images/b.gif?link=/features/video/';"
537
+ href="/features/video/"
538
+ >Video</a>
539
+ | <a
540
+ onclick="(new Image()).src='/rg/messageboards/footer/images/b.gif?link=/boards/';"
541
+ href="/boards/"
542
+ >Message Boards</a>
543
+ | <a
544
+ onclick="(new Image()).src='/rg/pressroom/footer/images/b.gif?link=/pressroom/';"
545
+ href="/pressroom/"
546
+ >Press Room</a>
547
+ <br>
548
+
549
+ <a
550
+ onclick="(new Image()).src='/rg/register-v2/footer/images/b.gif?link=https://secure.imdb.com/register-imdb/form-v2';"
551
+ href="https://secure.imdb.com/register-imdb/form-v2"
552
+ >Register</a>
553
+ | <a
554
+ onclick="(new Image()).src='/rg/rss/footer/images/b.gif?link=/help/show_article?rssavailable';"
555
+ href="/help/show_article?rssavailable"
556
+ class="navbarSprite"
557
+ id="footer_rss_image"
558
+ ></a>
559
+ <a
560
+ onclick="(new Image()).src='/rg/rss/footer/images/b.gif?link=/help/show_article?rssavailable';"
561
+ href="/help/show_article?rssavailable"
562
+ >RSS</a>
563
+ | <a
564
+ onclick="(new Image()).src='/rg/advertising/footer/images/b.gif?link=/advertising/';"
565
+ href="/advertising/"
566
+ >Advertising</a>
567
+ | <a
568
+ onclick="(new Image()).src='/rg/helpdesk/footer/images/b.gif?link=/helpdesk/contact';"
569
+ href="/helpdesk/contact"
570
+ >Contact Us</a>
571
+ | <a
572
+ onclick="(new Image()).src='/rg/jobs/footer/images/b.gif?link=/jobs';"
573
+ href="/jobs"
574
+ >Jobs</a>
575
+ | <a
576
+ onclick="(new Image()).src='/rg/IMDbFooter/prosystem/images/b.gif?link=https://secure.imdb.com/r/IMDbFooter/register/subscribe?c=a394d4442664f6f6475627';"
577
+ href="https://secure.imdb.com/r/IMDbFooter/register/subscribe?c=a394d4442664f6f6475627"
578
+ >IMDbPro</a>
579
+ | <a
580
+ onclick="(new Image()).src='/rg/BOXOFFICEMOJO/FOOTER/images/b.gif?link=http://www.boxofficemojo.com/';"
581
+ href="http://www.boxofficemojo.com/"
582
+ >Box Office Mojo</a>
583
+ | <a
584
+ onclick="(new Image()).src='/rg/WITHOUTABOX/FOOTER/images/b.gif?link=http://www.withoutabox.com/';"
585
+ href="http://www.withoutabox.com/"
586
+ >Withoutabox</a>
587
+ | <a
588
+ onclick="(new Image()).src='/rg/LOVEFILM/FOOTER/images/b.gif?link=http://www.lovefilm.com/browse/film/watch-online/';"
589
+ href="http://www.lovefilm.com/browse/film/watch-online/"
590
+ >LOVEFiLM</a>
591
+ <br /><br />
592
+ IMDb Mobile:
593
+ <a
594
+ onclick="(new Image()).src='/rg/mobile-ios/footer/images/b.gif?link=/apps/ios/';"
595
+ href="/apps/ios/"
596
+ >iPhone/iPad</a>
597
+ | <a
598
+ onclick="(new Image()).src='/rg/mobile-android/footer/images/b.gif?link=/android';"
599
+ href="/android"
600
+ >Android</a>
601
+ | <a
602
+ onclick="(new Image()).src='/rg/mobile-web/footer/images/b.gif?link=http://m.imdb.com';"
603
+ href="http://m.imdb.com"
604
+ >Mobile site</a>
605
+ | <a
606
+ onclick="(new Image()).src='/rg/mobile-win7/footer/images/b.gif?link=/windowsphone';"
607
+ href="/windowsphone"
608
+ >Windows Phone 7</a>
609
+ | IMDb Social:
610
+ <a
611
+ onclick="(new Image()).src='/rg/facebook/footer/images/b.gif?link=http://www.facebook.com/imdb';"
612
+ href="http://www.facebook.com/imdb"
613
+ >Facebook</a>
614
+ | <a
615
+ onclick="(new Image()).src='/rg/twitter/footer/images/b.gif?link=http://twitter.com/imdb';"
616
+ href="http://twitter.com/imdb"
617
+ >Twitter</a>
618
+ <br /><br />
619
+ </p>
620
+
621
+ <p class="footer" align="center">
622
+ <a
623
+ onclick="(new Image()).src='/rg/help/footer/images/b.gif?link=/help/show_article?conditions';"
624
+ href="/help/show_article?conditions"
625
+ >Copyright &copy;</a> 1990-2013
626
+ <a
627
+ onclick="(new Image()).src='/rg/help/footer/images/b.gif?link=/help/';"
628
+ href="/help/"
629
+ >IMDb.com, Inc.</a>
630
+ <br>
631
+ <a
632
+ onclick="(new Image()).src='/rg/help/footer/images/b.gif?link=/help/show_article?conditions';"
633
+ href="/help/show_article?conditions"
634
+ >Conditions of Use</a> | <a
635
+ onclick="(new Image()).src='/rg/help/footer/images/b.gif?link=/privacy';"
636
+ href="/privacy"
637
+ >Privacy Policy</a> | <a
638
+ onclick="(new Image()).src='/rg/help/footer/images/b.gif?link=//www.amazon.com/InterestBasedAds';"
639
+ href="//www.amazon.com/InterestBasedAds"
640
+ >Interest-Based Ads</a>
641
+ <br>
642
+ An <span id="amazon_logo" class="footer_logo" align="middle"></span> company.
643
+ </p>
644
+
645
+ <table class="footer" id="amazon-affiliates" width="100%">
646
+ <tr>
647
+ <td colspan="10">
648
+ Amazon Affiliates
649
+ </td>
650
+ </tr>
651
+ <tr>
652
+ <td class="amazon-affiliate-site-first">
653
+ <a class="amazon-affiliate-site-link" href="http://www.amazon.com/b?ie=UTF8&node=2858778011&tag=imdbpr1-20">
654
+ <span class="amazon-affiliate-site-name">Amazon Instant Video</span><br>
655
+ <span class="amazon-affiliate-site-desc">Watch Movies &<br>TV Online</span>
656
+ </a>
657
+ </td>
658
+ <td class="amazon-affiliate-site-item-nth">
659
+ <a class="amazon-affiliate-site-link" href=http://www.amazon.com/b?ie=UTF8&node=2676882011&tag=imdbpr1-20 >
660
+ <span class="amazon-affiliate-site-name">Prime Instant Video</span><br>
661
+ <span class="amazon-affiliate-site-desc">Unlimited Streaming<br>of Movies & TV</span>
662
+ </a>
663
+ </td>
664
+ <td class="amazon-affiliate-site-item-nth">
665
+ <a class="amazon-affiliate-site-link" href=http://www.amazon.de/b?ie=UTF8&node=284266&tag=imdbpr1-de-21 >
666
+ <span class="amazon-affiliate-site-name">Amazon Germany</span><br>
667
+ <span class="amazon-affiliate-site-desc">Buy Movies on<br>DVD & Blu-ray</span>
668
+ </a>
669
+ </td>
670
+ <td class="amazon-affiliate-site-item-nth">
671
+ <a class="amazon-affiliate-site-link" href=http://www.amazon.it/b?ie=UTF8&node=412606031&tag=imdbpr1-it-21 >
672
+ <span class="amazon-affiliate-site-name">Amazon Italy</span><br>
673
+ <span class="amazon-affiliate-site-desc">Buy Movies on<br>DVD & Blu-ray</span>
674
+ </a>
675
+ </td>
676
+ <td class="amazon-affiliate-site-item-nth">
677
+ <a class="amazon-affiliate-site-link" href=http://www.amazon.fr/b?ie=UTF8&node=405322&tag=imdbpr1-fr-21 >
678
+ <span class="amazon-affiliate-site-name">Amazon France</span><br>
679
+ <span class="amazon-affiliate-site-desc">Buy Movies on<br>DVD & Blu-ray</span>
680
+ </a>
681
+ </td>
682
+ <td class="amazon-affiliate-site-item-nth">
683
+ <a class="amazon-affiliate-site-link" href=http://www.lovefilm.com/browse/film/watch-online/ >
684
+ <span class="amazon-affiliate-site-name">LOVEFiLM</span><br>
685
+ <span class="amazon-affiliate-site-desc">Watch Movies<br>Online</span>
686
+ </a>
687
+ </td>
688
+ <td class="amazon-affiliate-site-item-nth">
689
+ <a class="amazon-affiliate-site-link" href=http://wireless.amazon.com >
690
+ <span class="amazon-affiliate-site-name">Amazon Wireless</span><br>
691
+ <span class="amazon-affiliate-site-desc">Cellphones &<br>Wireless Plans</span>
692
+ </a>
693
+ </td>
694
+ <td class="amazon-affiliate-site-item-nth">
695
+ <a class="amazon-affiliate-site-link" href=http://www.junglee.com/ >
696
+ <span class="amazon-affiliate-site-name">Junglee</span><br>
697
+ <span class="amazon-affiliate-site-desc">India Online<br>Shopping</span>
698
+ </a>
699
+ </td>
700
+ <td class="amazon-affiliate-site-item-nth">
701
+ <a class="amazon-affiliate-site-link" href=http://www.dpreview.com >
702
+ <span class="amazon-affiliate-site-name">DPReview</span><br>
703
+ <span class="amazon-affiliate-site-desc">Digital<br>Photography</span>
704
+ </a>
705
+ </td>
706
+ <td class="amazon-affiliate-site-item-nth">
707
+ <a class="amazon-affiliate-site-link" href=http://www.audible.com >
708
+ <span class="amazon-affiliate-site-name">Audible</span><br>
709
+ <span class="amazon-affiliate-site-desc">Download<br>Audio Books</span>
710
+ </a>
711
+ </td>
712
+ </tr>
713
+ </table>
714
+ </div>
715
+
716
+ <script type="text/javascript">
717
+
718
+ var _gaq = _gaq || [];
719
+ var seg = -1;
720
+ _gaq.push(['_setAccount', 'UA-3916519-1']);
721
+ _gaq.push(['_setDomainName', '.imdb.com']);
722
+ _gaq.push(['_setSampleRate', '10']);
723
+ _gaq.push(['_setCustomVar', 2, 'Falkor', 'false']);
724
+ _gaq.push(['_trackPageview']); // must come last
725
+
726
+ (function() {
727
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
728
+ ga.src = 'http://www.google-analytics.com/ga.js';
729
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
730
+ })();
731
+
732
+ </script>
733
+ <!-- begin springroll comscore beacon -->
734
+ <script type="text/javascript" src='/images/a/js/beacon.js'></script>
735
+ <script type="text/javascript">
736
+ COMSCORE.beacon({
737
+ c1: 2,
738
+ c2:"6034961",
739
+ c3:"",
740
+ c4:"http://www.imdb.com/find",
741
+ c5:"",
742
+ c6:"",
743
+ c15:""
744
+ });
745
+ </script>
746
+ <noscript>
747
+ <img src="http://b.scorecardresearch.com/p?c1=2&c2=6034961&c3=&c4=http%3A%2F%2Fwww.imdb.com%2Ffind&c5=c6=&15=&cj=1"/>
748
+ </noscript>
749
+ <!-- end springroll comscore beacon -->
750
+
751
+ <!-- begin BOTTOM_AD -->
752
+ <div id="bottom_ad_wrapper" class="dfp_slot">
753
+ <script type="text/javascript">
754
+ ad_utils.register_ad('bottom_ad');
755
+ </script>
756
+ <iframe data-dart-params="#imdb2.consumer.main/find;!TILE!;sz=728x90,2x1;p=b;fv=1;ab=f;bpx=1;oe=utf-8;[CLIENT_SIDE_KEYVALUES];[PASEGMENTS];u=[CLIENT_SIDE_ORD];ord=[CLIENT_SIDE_ORD]?" id="bottom_ad" name="bottom_ad" class="yesScript" width="728" height="90" data-config-width="728" data-config-height="90" data-cookie-width="null" data-cookie-height="null" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" allowtransparency="true" onload="ad_utils.on_ad_load(this)"></iframe>
757
+ <noscript><a href="http//ad.doubleclick.net/jump/imdb2.consumer.main/find;tile=6;sz=728x90,2x1;p=b;fv=1;ab=f;bpx=1;ord=769782999510?" target="_blank"><img src="http//ad.doubleclick.net/ad/imdb2.consumer.main/find;tile=6;sz=728x90,2x1;p=b;fv=1;ab=f;bpx=1;ord=769782999510?" border="0" alt="advertisement" /></a></noscript>
758
+ </div>
759
+ <div id="bottom_ad_reflow_helper"></div>
760
+ <script>ad_utils.render_ad_fast('bottom_ad');</script>
761
+ <!-- End BOTTOM_AD -->
762
+
763
+ </div>
764
+ </div>
765
+
766
+ <script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/01/imdb/js/collections/jquery-216455579._V396414659_.js"></script>
767
+ <script type="text/javascript" src="http://z-ecx.images-amazon.com/images/G/01/imdb/js/collections/consumersite-3234254591._V374446274_.js"></script>
768
+ <script type="text/imdblogin-js" id="login">
769
+ jQuery(document).ready(function(){
770
+ window.imdb.login_lightbox("https://secure.imdb.com", "http://www.imdb.com/find?q=the+core");
771
+ });
772
+ </script>
773
+ <!-- begin ads footer -->
774
+ <!-- Begin SIS-SW code -->
775
+ <iframe id="sis_pixel_sitewide" width="1" height="1" frameborder="0" marginwidth="0" marginheight="0"></iframe>
776
+ <script>
777
+ setTimeout(function(){
778
+ try{
779
+ if (! document.getElementById('sis_pixel_3')) {
780
+ var url_sis = 'http://s.amazon-adsystem.com/iu3?',
781
+ params_sis = [
782
+ "d=imdb.com",
783
+ "a1=",
784
+ "a2=0101a1823ca3d5d46ce03d4502edf28f095b20f780c29eddcddebefb2933fa9c1e98",
785
+ "pId=",
786
+ "r=1",
787
+ "rP=http%3A%2F%2Fwww.imdb.com%2Ffind%3Fq%3Dthe%2Bcore",
788
+ "encoding=server",
789
+ "cb=" + parseInt(Math.random()*99999999)
790
+ ];
791
+ (document.getElementById('sis_pixel_sitewide')).src = url_sis + params_sis.join('&');
792
+ }
793
+ }
794
+ catch(e){
795
+ consoleLog('Pixel failure ' + e.toString(),'sis');
796
+ }
797
+ }, 5);
798
+
799
+ </script>
800
+ <!-- End SIS-SW code -->
801
+
802
+ <script type="text/javascript">
803
+ (function() {
804
+ var foreseescript = document.createElement("script");
805
+ foreseescript.setAttribute("defer", true);
806
+ foreseescript.setAttribute("src", "http://z-ecx.images-amazon.com/images/G/01/imdbads/foresee/foresee-trigger-4277353327._V397576255_.js");
807
+ document.getElementsByTagName("head")[0].appendChild(foreseescript);
808
+ })();
809
+ </script>
810
+
811
+ <script>(function(g){window.jQuery && jQuery(function(){g.document_is_ready()});g.monitoring.stop_timing('page_load','',true);g.monitoring.all_events_started();})(generic);</script>
812
+ <!-- end ads footer -->
813
+
814
+ <div id="servertime" time="42"/>
815
+ </body>
816
+ </html>
817
+