From b3acf6b4c54a4a731fca9ed801f70b092975fbf3 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Wed, 11 Jun 2014 19:42:10 +0000
Subject: [PATCH] Zmiana licencjonowania - The BSD 3-Clause License.
---
data/tv/wp_parse.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/tv/wp_parse.php b/data/tv/wp_parse.php
index a944be5..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.');
}
@@ -132,4 +132,4 @@
}
}
}
-?>
\ No newline at end of file
+?>
--
Gitblit v1.9.1