Jacek Kowalski
2014-06-11 1128f2ee2379a8473a36631c51b7c2dfb39c0651
data/tv/wp_parse.php
@@ -37,7 +37,7 @@
      }
      $this->context = $context->item(0);
      
      $name = $this->xpath->query('.//h2[@class="sh2"]//span//text()', $this->context);
      $name = $this->xpath->query('.//*[@class="sh2"]//span//text()', $this->context);
      if($name->length != 1) {
         throw new Exception('Nie znaleziono nazwy stacji, błędny HTML.');
      }