Update download.go

This commit is contained in:
BitHeaven 2022-11-10 20:13:59 +05:00 committed by GitHub
parent 6c5c181a96
commit 0707246c77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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