3
1
Back

Specific dirname. To get this: git clone --recurse-submodules git@gitlab.com:rsholmes/precadsr.git $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Three Panel Soul elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) .

New Pull Request