Update download.go

This commit is contained in:
BitHeaven
2022-11-10 20:13:24 +05:00
committed by GitHub
parent 3a3b768042
commit 6c5c181a96

View File

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