From 56fdc48532b17edc7a835388eef4b7cfafbe5b8f Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 31 Jan 2019 23:34:26 +0100 Subject: Facebook is so retarded, you need to impersonate Firefox to get anything --- providers/HtmlFeed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'providers/HtmlFeed.php') diff --git a/providers/HtmlFeed.php b/providers/HtmlFeed.php index 64d6259..8543444 100644 --- a/providers/HtmlFeed.php +++ b/providers/HtmlFeed.php @@ -9,7 +9,7 @@ abstract class HtmlFeed extends \Providers\XmlFeed { private $_encoding; - private function __getUserAgent() { + protected function __getUserAgent() { return trim(file_get_contents('../config/user-agent')); } -- cgit v1.2.3