From 95acb218b417dfbf8af8d200b6eef3f9b52f78a9 Mon Sep 17 00:00:00 2001 From: Mitsukarenai Date: Mon, 18 Jul 2016 20:57:27 +0200 Subject: [PATCH] NumeramaBridge: uncaught error fix issue #287 --- bridges/NumeramaBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/NumeramaBridge.php b/bridges/NumeramaBridge.php index 6df7b553..4099178e 100644 --- a/bridges/NumeramaBridge.php +++ b/bridges/NumeramaBridge.php @@ -21,7 +21,7 @@ class NumeramaBridge extends BridgeAbstract{ function NumeramaExtractContent($url) { - $html2 = $this->file_get_html($url); + $html2 = file_get_html($url); $text = $html2->find('section[class=related-article]', 0)->innertext = ''; // remove related articles block $text = ''; // add post picture $text = $text.$html2->find('article[class=post-content]', 0)->innertext; // extract the post