mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-15 21:11:14 +02:00
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…
x
Reference in New Issue
Block a user