Subject: | Years don't work when multiple films released in a year |
Looks like a simple change in the redesign of the site.
If I do a lookup of 'The Enforcer' with year=1976 I get back an object
that can't return a year; $imdb->year() doesn't return 1976 back.
Turning debug on yields this:
----
[DEBUG] TITLE: The Enforcer (1976/I) .media_strip_thumbs img { margin-
right:0.2em; border:none; } .media_strip_thumbs { overflow: hidden;
height: 90px; } .media_strip_thumb img { margin-right:
0.2em; } .media_strip_thumb { float: left; margin-bottom: 50px; text-
align: right; font-family: Tahoma,Verdana,sans-serif; font-size: 10pt;
color:#333333; } Photos ( (/title/tt0074483/) at ./filmdetails.pl line
186
----
which I think is why the year isn't getting found.
Either that or the naming on the http://www.imdb.com/title/tt0074483/
page isn't helping:
----
<h1 class="header">
The Enforcer
<span>(I)</span>
<span>(<a href="/year/1976/">1976</a>)</span>
</h1>
----
(sorry, I've not had time to look through the code to check the problem)