3
1
Back

"//div[@class='comic-wrap']//img[@class='comic']", $article); } // Cyanide & Happiness elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { // only keep everything starting at the first foreach($imgs as $img){ $article['content'] .= "

Bonus comic:
" . $aftercomic . ""; $img_tag = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); Added The Trenches; yet more code style tweaking.

New Pull Request