mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-22 16:13:35 +02:00
[bridges] Change all bridges to use BridgeAbstract with getSimpleHTMLDOMCached
This commit is contained in:
@@ -47,7 +47,7 @@ class DauphineLibereBridge extends FeedExpander {
|
||||
}
|
||||
|
||||
private function ExtractContent($url) {
|
||||
$html2 = $this->get_cached($url);
|
||||
$html2 = $this->getSimpleHTMLDOMCached($url);
|
||||
$text = $html2->find('div.column', 0)->innertext;
|
||||
$text = preg_replace('@<script[^>]*?>.*?</script>@si', '', $text);
|
||||
return $text;
|
||||
|
Reference in New Issue
Block a user