mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-12 03:24:01 +02:00
[bridges] use BridgeAbstract::getContents instead of file_get_contents
use of the proxy feature when enabled Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -13,7 +13,7 @@ class Rue89Bridge extends BridgeAbstract{
|
||||
private function rue89getDatas($url){
|
||||
|
||||
$url = "http://api.rue89.nouvelobs.com/export/mobile2/node/" . str_replace(" ", "", substr($url, -8)) . "/full";
|
||||
$datas = json_decode(file_get_contents($url), true);
|
||||
$datas = json_decode($this->getContents($url), true);
|
||||
|
||||
return $datas["node"];
|
||||
|
||||
|
Reference in New Issue
Block a user