3
1
Back

AUTHORS BE LIABLE FOR ANY Copyright (c) 2021, Mapbox Permission to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Stick $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train (to get alt tag) // Pain Train alt tag, Alice Grove (get bigger image) elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Dilbert elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } Some comics supported elseif.

New Pull Request