mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-22 16:13:35 +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:
@@ -43,7 +43,7 @@ class BooruprojectBridge extends BridgeAbstract{
|
||||
if (empty($param['i'])) {
|
||||
$this->returnError('Please enter a ***.booru.org instance.', 404);
|
||||
}
|
||||
$html = file_get_html("http://".$param['i'].".booru.org/index.php?page=post&s=list&pid=".$page.$tags) or $this->returnError('Could not request Booruproject.', 404);
|
||||
$html = $this->file_get_html("http://".$param['i'].".booru.org/index.php?page=post&s=list&pid=".$page.$tags) or $this->returnError('Could not request Booruproject.', 404);
|
||||
|
||||
|
||||
foreach($html->find('div[class=content] span') as $element) {
|
||||
|
Reference in New Issue
Block a user