Merge branch 'master' of git.tt-rss.org:fox/tt-rss
This commit is contained in:
commit
585f37e418
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue