Merge branch 'master' of git.tt-rss.org:fox/tt-rss

This commit is contained in:
Andrew Dolgov 2022-03-29 13:52:39 +03:00
commit 585f37e418
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class Af_Comics_Explosm extends Af_ComicFilter {
if (@$doc->loadHTML(UrlHelper::fetch($article["link"]))) { if (@$doc->loadHTML(UrlHelper::fetch($article["link"]))) {
$xpath = new DOMXPath($doc); $xpath = new DOMXPath($doc);
$basenode = $xpath->query('(//img[@id="main-comic"])')->item(0); $basenode = $xpath->query('//div[contains(@class, "MainComic__ComicImage")]//img')->item(0);
if ($basenode) { if ($basenode) {
$article["content"] = $doc->saveHTML($basenode); $article["content"] = $doc->saveHTML($basenode);