3
1
Back

69096 bytes } elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // $article['content'] = preg_replace("@@", '', $article['content']); } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if ($rel[0] == '#' || $rel[0] == '?') { return $this->mangle_article($article); } function rel2abs($rel, $base) { Various updates, additions /* dirty absolute URL is ready! */ return $scheme . .

New Pull Request