mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
[imgchili] set encoding
This commit is contained in:
parent
58ce0b55e3
commit
68fe58ee72
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user