3
1
Back

"//img[@class='ksc' and contains(@src, 'png')]", $article); } // SBMC elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // PhD Unknown elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { $xpath = new DOMDocument(); // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } Various updates, additions elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $aftercomic.

New Pull Request