af_comics: fix for PA new layout
This commit is contained in:
parent
f826070c56
commit
abe24e3977
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue