PHP Classes

IMDB Parser: Extract movie information from IMDB site pages

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 70%Total: 3,808 All time: 848 This week: 524Up
Version License PHP version Categories
imdb_parser 1.7GNU General Publi...4.3.2Web services, Video
Description 

Author

This class can be used to parse and extract movie information from the respective pages of the IMDB (internet movie database) site (http://www.imdb.com).

Check out the newest release through SVN server.
svn checkout svn://svn.berlios.de/imdb-parser/trunk imdb-parser

It can extract the movie title, language, country, rating, genre, director, plot, color or black and white, tag line and poster picture URL.

please take a look on my website for newer versions.

Feel free to report any problems, comments or whatever.

Picture of Bernhard Essl
Name: Bernhard Essl <contact>
Classes: 4 packages by
Country: Austria Austria
Age: 44
All time rank: 2813 in Austria Austria
Week rank: 170 Up1 in Austria Austria Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

Details

IMDB_Parser - parsing imdb.com site Thu Feb 21 13:52:41 CET 2008 =================================== * Intro This class parse Information like title, language, genre of a video-detail-site from the internet movie database http://www.imdb.com. * Usage first you must fetched a imdb.com-detail-site, see the examples: $imdb_website = file_get_contents ('http://imdb.com/title/tt0138704/'); Include the class.imdb_parser.php: require("classes/class.imdb_parser.php"); Create a new instance of the class: $IMDB_Parser = new IMDB_Parser; * Methods $IMDB_Parser->getMoviePictureHtml($imdb_website) $IMDB_Parser->getMovieTitle($imdb_website) $IMDB_Parser->getMovieTagline($imdb_website) $IMDB_Parser->getMoviePlot($imdb_website) $IMDB_Parser->getMovieActors($imdb_website) $IMDB_Parser->getMovieActors($imdb_website, $name_and_id=True) $IMDB_Parser->getMovieRating($imdb_website) $IMDB_Parser->getMovieLanguage($imdb_website) $IMDB_Parser->getMovieColor($imdb_website) $IMDB_Parser->getMovieCountry($imdb_website) $IMDB_Parser->getMovieDirectedBy($imdb_website) $IMDB_Parser->getMoviePicture($imdb_website) $IMDB_Parser->getMovieGenres($imdb_website) $IMDB_Parser->getMovieYear($imdb_website) $IMDB_Parser->getMovieRuntime($imdb_website) $IMDB_Parser->getMovieStars($imdb_website) $IMDB_Parser->getMovieAka($imdb_website) $IMDB_Parser->getMovieVotes($imdb_website) $IMDB_Parser->getMovieAwards($imdb_website) * SVN Check out the newest release through SVN server. svn checkout svn://svn.berlios.de/imdb-parser/trunk imdb-parser * Contact Feel free to report any problems, comments or whatever. * Thanks to berlios.de for hosting the project. Guvenc kaplan, Erik aka D3FiANC3, Edward Husar and all the other contributers & bugreporters.

  Files folder image Files (6)  
File Role Description
Accessible without login Plain text file class.imdb_parser.php Class class IMDB_Parser
Accessible without login Plain text file example-curl.php Example example with curl
Accessible without login Plain text file example-fopen.php Example example with fopen
Accessible without login Plain text file example-pear_request.php Example example with PEAR::HTTP_Request
Accessible without login Plain text file README Doc. README
Plain text file testing.php Test test with simpletest

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,808
This week:0
All time:848
This week:524Up
 User Ratings  
 
 All time
Utility:90%StarStarStarStarStar
Consistency:84%StarStarStarStarStar
Documentation:78%StarStarStarStar
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:260