diff options
author | fox <[email protected]> | 2022-03-28 20:33:14 +0300 |
---|---|---|
committer | fox <[email protected]> | 2022-03-28 20:33:14 +0300 |
commit | ea4bbd7a46572b54a7bd07153690a7965719c1a7 (patch) | |
tree | 5d20a4aa3548147b492fc63399ee6c88b0dad485 /plugins | |
parent | 385da287d8640e1ac9d2ade95b7deacb4f0bcf8f (diff) | |
parent | fdd1831c5daef2088ee9c42bbae8871420451820 (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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/af_comics/filters/af_comics_explosm.php | 2 |
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); |