diff --git a/main.go b/main.go index 635a32c..8730f1e 100644 --- a/main.go +++ b/main.go @@ -1392,7 +1392,7 @@ func rip(albumId string, token string, storefront string, userToken string) erro fmt.Println("Failed to write cover.") } //get animated artwork - if Config.SaveAnimatedArtwork && meta.Data[0].Attributes.EditorialVideo.MotionSquareVideo1x1.Video != "" { + if config.SaveAnimatedArtwork && meta.Data[0].Attributes.EditorialVideo.MotionSquareVideo1x1.Video != "" { motionvideoUrl, err := extractVideo(meta.Data[0].Attributes.EditorialVideo.MotionSquareVideo1x1.Video) if err != nil { fmt.Println("no motion video.\n", err)