Subject: | bug report IMDB Film (perl) |
Date: | Thu, 19 May 2011 16:45:40 +0200 |
To: | <bug-IMDB-Film [...] rt.cpan.org> |
From: | Egbert Hannink <e_hannink [...] hotmail.com> |
Hi,
Since a few days or perhaps one or two weeks, I can no longer get Genres or
Rating information through this module.
Using perl5 (revision 5 version 12 subversion 3), IMDB module 0.49 on
Debian-testing.
I have a little perl program that uses a list of film ids to generate the
films' title, genres and rating (top 250 / rating / votes). It returns the
title like it should (so the module is working a bit), but I get empty
variables for genres and rating. I haven't changed the program since it last
worked, although I might have auto-updated perl since then.
This still works fine:
$filmnu = new IMDB::Film(crit => $filmtitel) || warn;
print "Reported title: ".$filmnu->title()."\n" || warn;
($filmtitel is the imdb-id of a film in the form of $filmtitel =
tt0071562;).
This next code, a few lines further, doesn't return anything anymore:
@GENRES = @{ $filmnu->genres()};
@TOPP = $filmnu->rating();
Both @GENRES and @TOPP remain empty.
My programming skills are still very limited, but since it worked before,
and I haven't changed anything, I guess the IMDB have changed their pages so
the scraper can no longer understand them?
Thanks!