3
1
Back

} $img->parentNode->replaceChild($new_element, $img); } function rel2abs($rel, $base) { function rel2abs($rel, $base) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath .

New Pull Request