3
1
Back

From 676d1403e60ef90e437a7e3e627a7211b04b0bb8 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Fix for when invisiblebread has no bread Pain Train alt tag, Alice Grove (get bigger image elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article.

New Pull Request