1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-13 12:04:09 +02:00

[bridges] fix typo in getSimpleHTMLDOM call

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière
2016-08-21 19:23:35 +02:00
parent 09bc211cc6
commit b97317af2e
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ class KoreusBridge extends BridgeAbstract{
}
private function KoreusExtractContent($url) {
$html2 = $this->getSimpeHTMLDOM($url);
$html2 = $this->getSimpleHTMLDOM($url);
$text = $html2->find('p[class=itemText]', 0)->innertext;
$text = utf8_encode(preg_replace('/(Sur le m.+?)+$/i','',$text));
return $text;