0
0
Fork 0

fix: hitomi changed their url

This commit is contained in:
ASTRO:? 2025-04-17 16:47:35 +09:00
parent da102b53f7
commit 0ae82c3ff1

View file

@ -53,6 +53,7 @@ class HeliotropeImageProxyView(HTTPMethodView):
raise InvalidUsage
headers = request.app.ctx.hitomi_request.headers
unquote_image_url.replace("hitomi.la", "gold-usergeneratedcontent.net")
# Pixiv request header
# 픽시브일경우 리퍼러 헤더 변경