Subject: | List of matched movies |
perl version: v5.10.0
distrib: debian 2.6.26-2-686
The matched array provided by the searched movie has a bug for some movies.
Here the source code:
my $movie = new IMDB::Film( crit => $basename, cache => 1 );
my $match;
foreach $match ( @{$movie->matched} ) {
my %tmp = %{$ttaa};
while ((my $key, my $value) = each(%tmp)) {
print "$key: $value\n";
}
}
When I am looking for "Vertigo", here what I get:
title: Vertigo (1958) .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 (
id: 0052357
title: Vértigo (1946)
id: 0038232
title: Vértigo (1936)
id: 0351971
title: Vértigo (1950)
...
The first title also contains unwanted characters. This bug does not
appear for each title (for example, searching for "The Mission" title is
good).