fix: 修复自定义pixiv反向代理无法对涩图生效 (#1716)

This commit is contained in:
Vanilla Gummies 2024-10-31 15:53:35 +08:00 committed by GitHub
parent ebf3df046a
commit b4e89b74c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,6 +189,7 @@ def change_pixiv_image_links(
url = (
url.replace("i.pximg.net", nginx_url)
.replace("i.pixiv.cat", nginx_url)
.replace("i.pixiv.re", nginx_url)
.replace("_webp", "")
)
return url