1
0
Fork 0
forked from blallo/rss-bridge

Update ReadComicsBridge.php

This commit is contained in:
niawag 2016-10-06 16:22:39 +02:00 committed by GitHub
parent 41e85bd4a6
commit 952bde0425

View file

@ -27,7 +27,7 @@ class ReadComicsBridge extends BridgeAbstract{
$keywordsList = explode(";",$this->getInput('q')); $keywordsList = explode(";",$this->getInput('q'));
foreach($keywordsList as $keywords){ foreach($keywordsList as $keywords){
$html = $this->getSimpleHTMLDOM(self::URI.'comic/'.rawurlencode($keywords)) $html = $this->getSimpleHTMLDOM(self::URI.'comic/'.rawurlencode($keywords))
or $this->returnServerError('Could not request RCO.'); or $this->returnServerError('Could not request readcomics.tv.');
foreach($html->find('li') as $element) { foreach($html->find('li') as $element) {
$item = array(); $item = array();