3
1
Back

$para_element->appendChild($title_element); } $img->parentNode->replaceChild($new_element, $img); } function rel2abs($rel, $base) { $rel = trim($rel); if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // $img_tag = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; } function get_content($link) { $html = fetch_file_contents($link); Fix.

New Pull Request