Skip to content

Commit

Permalink
🐛 修复自定义pixiv反向代理无法对涩图生效
Browse files Browse the repository at this point in the history
  • Loading branch information
HibiKier committed Nov 5, 2024
1 parent dc8af2a commit 0077a0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zhenxun/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0077a0a

Please sign in to comment.