3
1
Back

2013-2020 Khan Academy and other contributors Based on https://github.com/oguzbilgic/fpd, which has broken alt tags elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { //noop $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Gunnerkrigg Court // Gunnerkrigg Court elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Alice Grove bigger img elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article.

New Pull Request