diff --git a/src/htmlretrieve.cpp b/src/htmlretrieve.cpp
index bd17eb0..c0aee29 100644
--- a/src/htmlretrieve.cpp
+++ b/src/htmlretrieve.cpp
@@ -157,6 +157,9 @@ namespace duck {
easy.add(curl_pair(CURLOPT_USERAGENT, parUserAgent));
easy.add(curl_pair(CURLOPT_FOLLOWLOCATION, 1L));
+ easy.add(curl_pair(CURLOPT_ACCEPT_ENCODING, "gzip"));
+ easy.add(curl_pair(CURLOPT_HTTP_CONTENT_DECODING, 1L));
+
//try {
easy.perform();
//}