NAME
Meta::Imdb::Get - module to help you get information from IMDB.
COPYRIGHT
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
DETAILS
MANIFEST: Get.pm
PROJECT: meta
VERSION: 0.15
SYNOPSIS
package foo;
use Meta::Imdb::Get qw();
my($object)=Meta::Imdb::Get->new();
my($page)=$object->get_page("Woody Allen","Manhattan");
DESCRIPTION
This module will ease the task of getting information from IMDB. Just use its method and get the film info.
FUNCTIONS
new($)
get_page_form($$$)
get_page($$$)
get_title_html($$)
get_title_xml($$)
get_title_dom($$)
get_title_info($$)
get_director_id($$$)
get_director_id_form($$$)
get_search_page($)
get_birth_name($$$)
TEST($)
FUNCTION DOCUMENTATION
- new($)
-
This is a constructor for the Meta::Imdb::Get object.
- get_page_form($$$)
-
This method receives an IMDB object, a director and a film name and gives you the HTML in IMDB which has that information. The method uses the FORM objects to achieve this.
- get_page($$$)
-
This method receives an IMDB object, a director and a film name and gives you the HTML in IMDB which has that information. The method uses the regular Request objects to achieve this.
- get_title_html($$)
-
This method receives a title id and returns the page for that title.
- get_title_xml($$)
-
This method retrives the title as xml format.
- get_title_dom($$)
-
This method retrieves a DOM object that describes the title.
- get_title_info($$)
-
This method receives a title id and returns the info for that title.
- get_director_id($$$)
-
This method received a director first and second name and returns the director imdb id. This method is broken (Filemmakers/Crew only is not an option).
- get_director_id_form($$$)
-
This method is is exactly as get_director_id except it uses a form to do what it does.
- get_search_page($)
-
This will get the search page of imdb.
- get_birth_name($$$)
-
This method gets a birth name for a person.
- TEST($)
-
Test suite for this module.
SUPER CLASSES
LWP::UserAgent(3)
BUGS
None.
AUTHOR
Name: Mark Veltzer
Email: mailto:veltzer@cpan.org
WWW: http://www.veltzer.org
CPAN id: VELTZER
HISTORY
0.00 MV misc fixes
0.01 MV get imdb ids of directors and movies
0.02 MV perl packaging
0.03 MV md5 project
0.04 MV database
0.05 MV perl module versions in files
0.06 MV movies and small fixes
0.07 MV md5 progress
0.08 MV more Class method generation
0.09 MV thumbnail user interface
0.10 MV more thumbnail issues
0.11 MV website construction
0.12 MV web site automation
0.13 MV SEE ALSO section fix
0.14 MV teachers project
0.15 MV md5 issues
SEE ALSO
HTML::Form(3), HTTP::Request(3), HTTP::Request::Common(3), LWP::UserAgent(3), Meta::Baseline::Aegis(3), Meta::Class::MethodMaker(3), Meta::Lang::Html::Html(3), Meta::Lang::Xql::Cache(3), Meta::Utils::File::File(3), XML::XQL(3), XML::XQL::DOM(3), strict(3)
TODO
-override set agent since agent information is not currently used.