[koharu] send necessary headers for image downloads (#5893)
This commit is contained in:
@@ -107,7 +107,11 @@ class KoharuGalleryExtractor(GalleryExtractor):
|
||||
results = []
|
||||
for entry in data["entries"]:
|
||||
dimensions = entry["dimensions"]
|
||||
info = {"w": dimensions[0], "h": dimensions[1]}
|
||||
info = {
|
||||
"w": dimensions[0],
|
||||
"h": dimensions[1],
|
||||
"_http_headers": self.headers,
|
||||
}
|
||||
results.append((base + entry["path"], info))
|
||||
return results
|
||||
|
||||
|
||||
Reference in New Issue
Block a user