url parser: force no encoding

This commit is contained in:
Miroslav Šedivý 2020-02-28 23:38:54 +01:00
parent 9fbb2f0869
commit a536d0b38c

View file

@ -249,6 +249,7 @@ class Post
// Get content
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_ENCODING , "");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (compatible; Proxycat/1.1)");