[GoComicsBridge] Fix for page structure changes (#568)
GoComics changed comic page structure, so this patch fixes it Closes #565
This commit is contained in:
parent
f91309c7e4
commit
0284e9d488
1 changed files with 2 additions and 2 deletions
|
@ -18,10 +18,10 @@ class GoComicsBridge extends BridgeAbstract {
|
|||
$html = getSimpleHTMLDOM($this->getURI())
|
||||
or returnServerError('Could not request GoComics: ' . $this->getURI());
|
||||
|
||||
foreach($html->find('div.item-comic-container') as $element) {
|
||||
foreach($html->find('div.comic__container') as $element) {
|
||||
|
||||
$img = $element->find('img', 0);
|
||||
$link = $element->find('a.item-comic-link', 0);
|
||||
$link = $element->find('a.js-item-comic-link', 0);
|
||||
$comic = $img->src;
|
||||
$title = $link->title;
|
||||
$url = $html->find('input.js-copy-link', 0)->value;
|
||||
|
|
Loading…
Reference in a new issue