| | |
| | | 436 => 'FilmBox', |
| | | 433 => 'FilmBox Extra', |
| | | 174 => 'AXN', |
| | | 418 => 'AXN Crime', |
| | | 416 => 'AXN Sci-fi', |
| | | 538 => 'AXN Black', |
| | | 539 => 'AXN White', |
| | | 85 => 'Ale Kino!', |
| | | 205 => 'Kino Polska', |
| | | 403 => 'TCM', |
| | |
| | | $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++; |
| | | } |
| | |
| | | } |
| | | } |
| | | echo OK; |
| | | ?> |
| | | ?> |