[koharu] send necessary headers for image downloads (#5893)

This commit is contained in:
Mike Fährmann
2024-07-30 19:39:50 +02:00
parent 399ba85841
commit ff58683b76
2 changed files with 13 additions and 1 deletions

View File

@@ -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