mirror of
https://github.com/zhaarey/apple-music-downloader.git
synced 2025-10-23 15:11:05 +00:00
fix picture wrong resolusion
This commit is contained in:
4
main.go
4
main.go
@@ -1004,7 +1004,7 @@ func writeCover(sanAlbumFolder, url string) error {
|
||||
if exists {
|
||||
return nil
|
||||
}
|
||||
url = strings.Replace(url, "{w}x{h}", "1200x12000", 1)
|
||||
url = strings.Replace(url, "{w}x{h}", "10000x10000", 1)
|
||||
req, err := http.NewRequest("GET", url, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -1765,4 +1765,4 @@ type AutoGeneratedTrack struct {
|
||||
} `json:"artists"`
|
||||
} `json:"relationships"`
|
||||
} `json:"data"`
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user