3
1
Back

$this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } // Dead Philosophers elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); // $article['content'] = $matches[1]; // Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'png')]", $article); $article['content'] = $matches[1]; $article['content'] .

New Pull Request