| Meta documentation | view source | Contained in the Meta distribution. |
Meta::Imdb::Get - module to help you get information from IMDB.
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
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.
MANIFEST: Get.pm PROJECT: meta VERSION: 0.15
package foo;
use Meta::Imdb::Get qw();
my($object)=Meta::Imdb::Get->new();
my($page)=$object->get_page("Woody Allen","Manhattan");
This module will ease the task of getting information from IMDB. Just use its method and get the film info.
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($)
This is a constructor for the Meta::Imdb::Get object.
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.
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.
This method receives a title id and returns the page for that title.
This method retrives the title as xml format.
This method retrieves a DOM object that describes the title.
This method receives a title id and returns the info for that title.
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).
This method is is exactly as get_director_id except it uses a form to do what it does.
This will get the search page of imdb.
This method gets a birth name for a person.
Test suite for this module.
LWP::UserAgent(3)
None.
Name: Mark Veltzer Email: mailto:veltzer@cpan.org WWW: http://www.veltzer.org CPAN id: VELTZER
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
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)
-override set agent since agent information is not currently used.
| Meta documentation | view source | Contained in the Meta distribution. |