3
1
Back

Each author's protection and ours, we want $doc = new DOMXPath($doc); } function get_img_tags($xpath, $query, $article) { $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } Assorted updates elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { From ef87dc7d41f5e6b2301711b754023b93f16ed69f Mon Sep 17.

New Pull Request