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'));
foreach($keywordsList as $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) {
$item = array();