From fa0258a4ef2a0d4c4b06be5f3de8fbb9d6f3df87 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 25 Feb 2017 13:44:33 +0100 Subject: use gzip for API requests --- crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawler.py') diff --git a/crawler.py b/crawler.py index b188a86..0146586 100644 --- a/crawler.py +++ b/crawler.py @@ -30,7 +30,7 @@ class Crawler(object): "Authorization": "Bearer " + self._token, "X-TITLE-ID": "semc-vainglory", "Accept": "application/vnd.api+json", - "Content-Encoding": "gzip" + "Accept-Encoding": "gzip" } try: while True: -- cgit v1.3.1