3
1
Back

Modifications, including but not some kind of referer check which prevents the browser from getting the image. // $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); $article['content'] = preg_replace("@@", '', $article['content']); // Penny Arcade if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Something Positive if (!$alt_text){ Added BCN, Something Positive elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMDocument.

New Pull Request