summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfox <[email protected]>2022-03-28 20:33:14 +0300
committerfox <[email protected]>2022-03-28 20:33:14 +0300
commitea4bbd7a46572b54a7bd07153690a7965719c1a7 (patch)
tree5d20a4aa3548147b492fc63399ee6c88b0dad485
parent385da287d8640e1ac9d2ade95b7deacb4f0bcf8f (diff)
parentfdd1831c5daef2088ee9c42bbae8871420451820 (diff)
Merge pull request 'Fix af_comics for explosm after site changes' (#68) from ekalin/tt-rss:fix_explosm into master
Reviewed-on: https://git-gitea.tt-rss.org/fox/tt-rss/pulls/68
-rw-r--r--plugins/af_comics/filters/af_comics_explosm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_comics/filters/af_comics_explosm.php b/plugins/af_comics/filters/af_comics_explosm.php
index bfe38e53b..3f8b49726 100644
--- a/plugins/af_comics/filters/af_comics_explosm.php
+++ b/plugins/af_comics/filters/af_comics_explosm.php
@@ -13,7 +13,7 @@ class Af_Comics_Explosm extends Af_ComicFilter {
if (@$doc->loadHTML(UrlHelper::fetch($article["link"]))) {
$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) {
$article["content"] = $doc->saveHTML($basenode);