|
|
@ -25,7 +25,9 @@ class Af_Comics_Pa extends Af_ComicFilter {
|
|
|
|
if (strpos($article["link"], "penny-arcade.com") !== false && strpos($article["title"], "News Post:") !== false) {
|
|
|
|
if (strpos($article["link"], "penny-arcade.com") !== false && strpos($article["title"], "News Post:") !== false) {
|
|
|
|
$doc = new DOMDocument();
|
|
|
|
$doc = new DOMDocument();
|
|
|
|
|
|
|
|
|
|
|
|
if ($doc->loadHTML(UrlHelper::fetch($article["link"]))) {
|
|
|
|
$res = UrlHelper::fetch($article["link"]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($res && $doc->loadHTML($res)) {
|
|
|
|
$xpath = new DOMXPath($doc);
|
|
|
|
$xpath = new DOMXPath($doc);
|
|
|
|
$entries = $xpath->query('(//div[@class="post"])');
|
|
|
|
$entries = $xpath->query('(//div[@class="post"])');
|
|
|
|
|
|
|
|
|
|
|
|