IMDB::Persons(3pm) | User Contributed Perl Documentation | IMDB::Persons(3pm) |
IMDB::Persons - Perl extension for retrieving movies persons from IMDB.com
use IMDB::Persons; # # Retrieve a person information by IMDB code # my $person = new IMDB::Persons(crit => '0000129'); or # # Retrieve a person information by name # my $person = new IMDB::Persons(crit => 'Tom Cruise'); or # # Process already stored HTML page from IMDB # my $person = new IMDB::Persons(file => 'imdb.html'); if($person->status) { print "Name: ".$person->name."\n"; print "Birth Date: ".$person->date_of_birth."\n"; } else { print "Something wrong: ".$person->error."!\n"; }
IMDB::Persons allows one to retrieve an information about IMDB persons (actors, actresses, directors etc): full name, photo, date and place of birth, mini bio and filmography.
my $person_name = $person->name();
my $mini_bio = $person->mini_bio();
my $d_birth = $person->date_of_birth();
my $place = $person->place_of_birth();
my $photo = $person->photo();
my $fg = $person->filmography(); __DATA__ $fg = { 'Section' => [ { title => 'movie title', role => 'person role', year => 'year of movie production', code => 'IMDB code of movie', } ]; }
The section can be In Development, Actor, Self, Thanks, Archive Footage, Producer etc.
my $genres = $persons->genres;
my $keywords = $persons->plot_keywords;
No Matches.=head1 BUGS
Please, send me any found bugs by email: stepanov.michael@gmail.com.
IMDB::Film IMDB::BaseClass WWW::Yahoo::Movies HTML::TokeParser
Mikhail Stepanov AKA nite_man (stepanov.michael@gmail.com)
Copyright (c) 2004 - 2007, Mikhail Stepanov. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.
2021-01-07 | perl v5.32.0 |