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) {
|
if ($doc) {
|
||||||
$xpath = new DOMXPath($doc);
|
$xpath = new DOMXPath($doc);
|
||||||
$entries = $xpath->query('(//div[@class="post comic"])');
|
$basenode = $xpath->query('(//div[@id="comicFrame"])')->item(0);
|
||||||
|
|
||||||
foreach ($entries as $entry) {
|
|
||||||
$basenode = $entry;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($basenode) {
|
if ($basenode) {
|
||||||
$article["content"] = $doc->saveXML($basenode);
|
$article["content"] = $doc->saveXML($basenode);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user