Labels Milestones
BackNightmare Girls elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if (strpos($article["content"], "bonus panel!") !== FALSE) { // slightly complicated; the link is to tumblr, but there's a url in the Work.
New Pull Request