Commit 8b3fce46 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 53929d4f
......@@ -72,7 +72,7 @@ $tmdb2 = json_decode(file_get_contents($url2), true);
foreach ($tmdb2["seasons"] AS $Key => $Value){
echo " Staffel ".$Value["season_number"].":".PHP_EOL;
$url3="https://api.themoviedb.org/3/tv/".$tmdb["tv_results"][0]["id"]."/season/".($Key+1)."?api_key=".$tmdbKey."&language=de";
$url3="https://api.themoviedb.org/3/tv/".$tmdb["tv_results"][0]["id"]."/season/".$Value["season_number"]."?api_key=".$tmdbKey."&language=de";
//echo $url3.PHP_EOL;
$tmdb3 = json_decode(file_get_contents($url3), true);
foreach ($tmdb3["episodes"] as $key => $value) {
......
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