3
1
Back

$this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } //Sites that provide images and just need alt tags textified. $alt_element = $doc->createElement("i", $title_text); } elseif (strpos($alt_text, $title_text) !== false){ $text_element = $doc->createElement("i", $title_text); } else { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $img_tag . $article['content']; $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] = $this->get_img_tags($xpath.

New Pull Request