3
1
Back

Present foreach ($imgs as $img) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); // $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $img; } } // Poly In Pictures elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath .

New Pull Request