Subject: | Sometimes good results with multiple "aka" titles are ignored in favor of worse chooses |
For example If I search for "The Quest" with year 2006
The first result IMDB will give me is:
Titles (Exact Matches) (Displaying 15 Results)
1.
The Quest (1996)
but IMDB::Film will use the following match instead:
12. "The Quest" (1996) (TV series)
After a little investigation it seems that IMDB::Film ignores the first
result because there an image tag between <a> and </td> , this image is
actually the + sign to click open extra "aka" titles.
replacing the following in BaseClass.pm:
my $title = $parser->get_trimmed_text('a', $end_tag);
by
my $title = $parser->get_trimmed_text('a', $end_tag ,'p');
solves the problem for me.