fix Config to config

pull/20/head
itouakirai 3 months ago committed by GitHub
parent 9f4636598c
commit 4fba1ee0bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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)

Loading…
Cancel
Save