3
1
Back

$doc->loadHTML($html); $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Some comics supported if (strpos($article["link"], "penny-arcade.com") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // only keep everything starting at the thickest point, less at the first if (preg_match("@.*(get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and.

New Pull Request