3
1
Back

$this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } Added BCN, Something Positive elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } Added BCN, Something Positive elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup) $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; .

New Pull Request