Update download.go

This commit is contained in:
BitHeaven
2022-11-10 20:13:59 +05:00
committed by GitHub
parent 6c5c181a96
commit 0707246c77

View File

@ -122,6 +122,7 @@ func downloadPost(post *e621.Post, directory string) error {
savePath := getSavePath(post, &directory)
fmt.Print(post.File.URL)
fmt.Print(savePath)
resp, err := e621.HTTPGet(post.File.URL)
if err != nil {