3
1
Back

'//td/img[contains(@src, "/comics/images/")]', $article); // Doghouse Diaries, which has broken alt tags if both exist achewood, gwss fix, fix for when invisiblebread has no bread elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { // PhD Unknown // Robot Hugs elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); // $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // PhD Unknown elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than.

New Pull Request