diff --git a/lib/contents.php b/lib/contents.php index 470efeb3..e8c43a9d 100644 --- a/lib/contents.php +++ b/lib/contents.php @@ -7,7 +7,8 @@ function getContents($url ){ $contextOptions = array( 'http' => array( - 'user_agent' => ini_get('user_agent') + 'user_agent' => ini_get('user_agent'), + 'accept_encoding' => 'gzip' ) );