mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 02:24:35 +02:00
bridges: rename file_get_html to getSimpleHTMLDOM
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
86515a1560
commit
6e2c7ceaf4
12 changed files with 38 additions and 38 deletions
|
@ -11,7 +11,7 @@ class ShanaprojectBridge extends BridgeAbstract {
|
|||
// Returns an html object for the Season Anime List (latest season)
|
||||
private function LoadSeasonAnimeList(){
|
||||
// First we need to find the URI to the latest season from the 'seasons' page searching for 'Season Anime List'
|
||||
$html = $this->file_get_html($this->getURI() . '/seasons');
|
||||
$html = $this->getSimpleHTMLDOM($this->getURI() . '/seasons');
|
||||
if(!$html)
|
||||
$this->returnServerError('Could not load \'seasons\' page!');
|
||||
|
||||
|
@ -19,7 +19,7 @@ class ShanaprojectBridge extends BridgeAbstract {
|
|||
if(!$season)
|
||||
$this->returnServerError('Could not find \'Season Anime List\'!');
|
||||
|
||||
$html = $this->file_get_html($this->getURI() . $season->href);
|
||||
$html = $this->getSimpleHTMLDOM($this->getURI() . $season->href);
|
||||
if(!$html)
|
||||
$this->returnServerError('Could not load \'Season Anime List\' from \'' . $season->innertext . '\'!');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue