Commit ab0a15af authored by Nico Schallehn's avatar Nico Schallehn

test

parent 743bfb89
...@@ -30,20 +30,20 @@ $imdbID = "4075124"; ...@@ -30,20 +30,20 @@ $imdbID = "4075124";
include("imdb.class.php"); include("imdb.class.php");
include("imdb2.class.php"); include("imdb2.class.php");
$imdb="tt1815862"; $imdbID="tt1815862";
$imdb = new IMDB("http://www.imdb.com/title/".$imdb."/"); $imdb = new IMDB("http://www.imdb.com/title/".$imdbID."/");
if ($imdb->isReady) { if ($imdb->isReady) {
$imdb2 = new IMDb2(true, false, 0); $imdb2 = new IMDb2(true, false, 0);
$movie = $imdb2->find_by_id($imdb); $movie = $imdb2->find_by_id($imdbID);
$omdb = jsonCacheDecoder("http://www.omdbapi.com/?i=".$imdb."&plot=full&r=json"); $omdb = jsonCacheDecoder("http://www.omdbapi.com/?i=".$imdbID."&plot=full&r=json");
echo "Jahr:".PHP_EOL; echo "Jahr:".PHP_EOL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment