mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +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:
parent
747e54d64a
commit
4a1f360d39
8 changed files with 10 additions and 10 deletions
|
@ -102,7 +102,7 @@ class MangareaderBridge extends BridgeAbstract{
|
|||
}
|
||||
|
||||
// We'll use the DOM parser for this as it makes navigation easier
|
||||
$html = file_get_contents("http://www.mangareader.net/" . $path);
|
||||
$html = $this->getContents("http://www.mangareader.net/" . $path);
|
||||
if(!$html){
|
||||
$this->returnClientError('Could not receive data for ' . $path . '!');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue