Update download.go
This commit is contained in:
parent
6c5c181a96
commit
0707246c77
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue