From 4b952253556358c0284338538b5b37cbf332d980 Mon Sep 17 00:00:00 2001 From: Yiwen-Chan Date: Mon, 21 Jun 2021 21:02:47 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E5=9B=BE=E7=89=87=E7=9A=84=E7=A2=A7=E6=B2=B9=E9=B8=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setutime/setu_geter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/setutime/setu_geter.go b/setutime/setu_geter.go index 25b15b8c..d41b886d 100644 --- a/setutime/setu_geter.go +++ b/setutime/setu_geter.go @@ -253,6 +253,7 @@ func download(i *pixiv.Illust, filedir string) (string, error) { link := i.ImageUrls link = strings.ReplaceAll(link, "img-original", "img-master") link = strings.ReplaceAll(link, "_p0", "_p0_master1200") + link = strings.ReplaceAll(link, ".png", ".jpg") // 下载 return pixiv.Download(link, filedir, filename) }