3
1
Back

$this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); // $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // Three Panel Soul elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Eat That Toast elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { $xpath .

New Pull Request