mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-11 19:14:09 +02:00
use BridgeAbstract::file_get_html in all bridges
instead of simple_html_dom function file_get_html Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -24,7 +24,7 @@ class TagBoardBridge extends BridgeAbstract{
|
||||
$this->request = $param['u'];
|
||||
$link = 'https://post-cache.tagboard.com/search/' .$this->request;
|
||||
|
||||
$html = file_get_html($link) or $this->returnError('Could not request TagBoard for : ' . $link , 404);
|
||||
$html = $this->file_get_html($link) or $this->returnError('Could not request TagBoard for : ' . $link , 404);
|
||||
$parsed_json = json_decode($html);
|
||||
|
||||
foreach($parsed_json->{'posts'} as $element) {
|
||||
|
Reference in New Issue
Block a user