data/tv/pobierz.php
@@ -52,7 +52,6 @@ 78 => 'Zone Romantica', 267 => 'Zone Europa', 84 => 'Zone Reality', 434 => 'Religia TV', 449 => 'BBC CBeebies', 74 => 'Jetix', 217 => 'ZigZap', @@ -95,8 +94,14 @@ $doc = new DOMDocument('1.0', 'utf-8'); @$doc->loadHTMLFile('./cache/'.$num.'_'.$date); $wp = new wp_parse($doc); $wp->xmltv($station, $out); try { $wp = new wp_parse($doc); $wp->xmltv($station, $out); } catch(Exception $e) { echo "\n"; echo STAR.'Błąd przy pobieraniu danych dla kanału '.$station.FAIL."\n"; continue; } $counter++; }