Skip to content

minhnhut/imdb-getter-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

imdb-getter-php

Library to crawling movie's information from IMDB

USAGE:

include 'imdb_getter.php';
$imdb = new imdb_getter('http://www.imdb.com/title/tt2179136/?ref_=hm_cht_t0');
$imdb->exec();

Then you can extract data from $imdb by following way:

$imdb->get_title(); // to get movie's title
$imdb->get_year(); // to get movie's produced year (little buggy)
$imdb->get_thumb(); // to get movie's thumbnail as url
// etc ...
$imdb->get_gerne();
$imdb->get_category();
$imdb->get_duration();
$imdb->get_director();
$imdb->get_actor();
$imdb->get_rate(); // rating score
// Saving thumbnail
// It will save thumbnail to this path: ../img/
// some arugements will be added later
$imdb->save_thumbnail();

About

Library to crawling movie's information from IMDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages