From 5ab2921256e688e2f005b04bfe08f8c8bb91fd68 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Wed, 11 Jun 2014 20:57:09 +0000
Subject: [PATCH] [core] Poprawka literówki w klasie BotPull

---
 data/tv/wp_parse.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/data/tv/wp_parse.php b/data/tv/wp_parse.php
index f3cb7c7..716f2df 100644
--- a/data/tv/wp_parse.php
+++ b/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.');
 		}

--
Gitblit v1.9.1