X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=plugins%2Faf_comics%2Finit.php;h=993ddb7cdcbdc99b47c5ada97855fc47b8e2f01e;hb=abe24e397783ccff66f83536cb4ea46c7bb68f5f;hp=5d3ccf07229231bfd63b8dfe15d95c6c3d98d6c9;hpb=f826070c560661c7d2eff0bb16b7782cc524937d;p=tt-rss.git diff --git a/plugins/af_comics/init.php b/plugins/af_comics/init.php index 5d3ccf07..993ddb7c 100644 --- a/plugins/af_comics/init.php +++ b/plugins/af_comics/init.php @@ -210,11 +210,7 @@ class Af_Comics extends Plugin { if ($doc) { $xpath = new DOMXPath($doc); - $entries = $xpath->query('(//div[@class="post comic"])'); - - foreach ($entries as $entry) { - $basenode = $entry; - } + $basenode = $xpath->query('(//div[@id="comicFrame"])')->item(0); if ($basenode) { $article["content"] = $doc->saveXML($basenode);