1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 04:32:51 +01:00

[imgchili] set encoding

This commit is contained in:
Mike Fährmann 2016-11-07 08:37:43 +01:00
parent 58ce0b55e3
commit 68fe58ee72
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -24,7 +24,7 @@ class ImgchiliExtractor(Extractor):
self.session.headers["Referer"] = self.url_base
def items(self):
page = self.request(self.url).text
page = self.request(self.url, encoding="utf-8").text
data = self.get_job_metadata(page)
yield Message.Version, 1
yield Message.Headers, self.session.headers