diff --git a/bridges/CpasbienBridge.php b/bridges/CpasbienBridge.php index 1f47045..6c3b785 100644 --- a/bridges/CpasbienBridge.php +++ b/bridges/CpasbienBridge.php @@ -1,19 +1,4 @@ MAX_FILE_SIZE) - { - return false; - } - // The second parameter can force the selectors to all be lowercase. - $dom->load($contents, $lowercase, $stripRN); - return $dom; -} - class CpasbienBridge extends HttpCachingBridgeAbstract{ private $request; @@ -51,7 +36,7 @@ class CpasbienBridge extends HttpCachingBridgeAbstract{ if ($episode->getAttribute('class')=='ligne0' || $episode->getAttribute('class')=='ligne1') { - $htmlepisode=content_get_html($this->get_cached($episode->find('a', 0)->getAttribute('href'))); + $htmlepisode=str_get_html($this->get_cached($episode->find('a', 0)->getAttribute('href'))); $item = array(); $item['author'] = $episode->find('a', 0)->text();