glomatico / gamdl

A Python CLI app for downloading Apple Music songs/music videos/posts.
587 stars 76 forks source link

Music Videos Do Not Gets Download (Not All) #88

Closed Rajeshsahoo12 closed 2 months ago

Rajeshsahoo12 commented 3 months ago

Hi Dev,

Have recently started using to download music tracks & music videos from apple music. And I have setup according to the instructions in repo.

But I faced issue related to music videos not getting downloaded. It does not happen with all music videos. For the information I have set TRUE to "ask_video_format" parameter in config.json.

No errors at all music videos :-

gamdl https://music.apple.com/in/music-video/no-angels/1735396016

image

Errors in music videos download :-

image

https://music.apple.com/in/music-video/rich-baby-daddy-feat-sexxy-red-sza/1731033374

https://music.apple.com/in/music-video/spin-bout-u/1674251945

https://music.apple.com/in/music-video/you-broke-my-heart/1722308116

https://music.apple.com/in/music-video/polar-opposites/1719163980

https://music.apple.com/in/music-video/first-person-shooter-feat-j-cole/1717084940

Thanks

glomatico commented 3 months ago

Please send the output of the command with --print-exceptions added in the command.

Rajeshsahoo12 commented 3 months ago

--print-exceptions

Thanks dev for quick response. As u said here I have attached error SS for tried command with url.

gamdl https://music.apple.com/in/music-video/rich-baby-daddy-feat-sexxy-red-sza/1731033374 --print-exceptions

image

Thanks

glomatico commented 3 months ago

Check your cookies.

Rajeshsahoo12 commented 3 months ago

Check your cookies.

I got cookies using this tool mentioned in repo. I am using trial account. Is this a problem..?

Do I need to get fresh cookies..?

Rajeshsahoo12 commented 3 months ago

gamdl https://music.apple.com/in/music-video/rich-baby-daddy-feat-sexxy-red-sza/1731033374

I have generated fresh cookies & tried again. But it failed.

Then I changed these param in config file to true "prefer_hevc", "print_exceptions"

And wow the videos which were throwing errors earlier. Now, this was the result.

image

Thanks