mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-11 02:54:10 +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:
@@ -51,7 +51,7 @@ class Arte7Bridge extends BridgeAbstract{
|
||||
function extractVideoset($category='toutes-les-videos', $lang='fr')
|
||||
{
|
||||
$url = 'http://www.arte.tv/guide/'.$lang.'/plus7/'.$category;
|
||||
$input = file_get_contents($url) or die('Could not request ARTE.');
|
||||
$input = $this->getContents($url) or die('Could not request ARTE.');
|
||||
if(strpos($input, 'categoryVideoSet') !== FALSE)
|
||||
{
|
||||
$input = explode('categoryVideoSet: ', $input);
|
||||
|
Reference in New Issue
Block a user