Skip to content

Commit

Permalink
🐛 修复下载图片的碧油鸡
Browse files Browse the repository at this point in the history
  • Loading branch information
kanrichan committed Jun 21, 2021
1 parent 5fd814d commit 4fe2285
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setutime/setu_geter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 4fe2285

Please sign in to comment.