mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-30 11:30:11 +02:00
[bridges] Change all bridges to use BridgeAbstract with getSimpleHTMLDOMCached
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
class KununuBridge extends HttpCachingBridgeAbstract {
|
||||
class KununuBridge extends BridgeAbstract {
|
||||
const MAINTAINER = "logmanoriginal";
|
||||
const NAME = "Kununu Bridge";
|
||||
const URI = "https://www.kununu.com/";
|
||||
@@ -224,7 +224,7 @@ class KununuBridge extends HttpCachingBridgeAbstract {
|
||||
*/
|
||||
private function extract_full_description($uri){
|
||||
// Load full article
|
||||
$html = $this->get_cached($uri);
|
||||
$html = $this->getSimpleHTMLDOMCached($uri);
|
||||
if($html === false)
|
||||
$this->returnServerError('Could not load full description!');
|
||||
|
||||
|
Reference in New Issue
Block a user