3
1
Back

$img = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Scenes From A Multiverse (to get alt tags if both exist elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = new DOMXPath($doc); } function get_xpath_dealie($link) { $abs = "$host$path/$rel"; function get_content($link) { /** * Use this if you are happy with your fetcher, use the first if(preg_match("@.*(

New Pull Request