3
1
Back

= $fetch_last_content_type; return array( $html, $content_type); } function get_img_tags($xpath, $query, $article){ $entries = $xpath->query($query); $result_html = ''; function rel2abs($rel, $base) { Various updates, additions elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // only keep everything starting at the first elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); // $img_tag = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // Berkeley Mews elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Invisible Bread.

New Pull Request