dropcreations / Manzana-Apple-Music-Downloader

A python program to download albums and songs with AAC codec in .m4a container format and music-videos up to 4K in AVC or HEVC codec in .mp4 format from Apple Music.
https://music.apple.com
GNU General Public License v3.0
182 stars 23 forks source link

Decryption failed error #26

Closed Sagi-Rastar closed 4 months ago

Sagi-Rastar commented 8 months ago

Thank you for making this , but I'm having a bit of a problem using it.

same as #15 , in the decrypting step after completing the download, the command prompt shows [17:48:07] [ManzanaCore] ERROR: Decryption failed! (same in PowerShell)

F:\_爱好\_manualani\Manzana-Apple-Music-Downloader>python manzana.py https://music.apple.com/cn/album/a-rainy-dancer-2021/1564766292?i=1564766414

    $$$$$$\$$$$\   $$$$$$\  $$$$$$$\  $$$$$$$$\ $$$$$$\  $$$$$$$\   $$$$$$\
    $$  _$$  _$$\  \____$$\ $$  __$$\ \____$$  |\____$$\ $$  __$$\  \____$$\
    $$ / $$ / $$ | $$$$$$$ |$$ |  $$ |  $$$$ _/ $$$$$$$ |$$ |  $$ | $$$$$$$ |
    $$ | $$ | $$ |$$  __$$ |$$ |  $$ | $$  _/  $$  __$$ |$$ |  $$ |$$  __$$ |
    $$ | $$ | $$ |\$$$$$$$ |$$ |  $$ |$$$$$$$$\\$$$$$$$ |$$ |  $$ |\$$$$$$$ |
    \__| \__| \__| \_______|\__|  \__|\________|\_______|\__|  \__| \_______|

                        ──── Apple Music Downloader ────

[17:47:57] [ManzanaCore] INFO: Loading device...
[17:47:57] [ManzanaCore] INFO: Checking accessToken...
[17:47:58] [ManzanaCore] INFO: Checking mediaUserToken...
[17:47:58] [ManzanaCore] INFO: Checking passed urls...
[17:47:58] [ManzanaCore] INFO: Starting download process...

        URL: https://music.apple.com/cn/album/a-rainy-dancer-2021/1564766292?i=1564766414

[17:47:58] [ManzanaCore] INFO: Fetching API response...
------------------------------
[17:48:00] [ManzanaCore] INFO: Getting webplayback...
[17:48:00] [ManzanaCore] INFO: Parsing song uri...
[17:48:01] [ManzanaCore] INFO: Checking decrypt keys...
[17:48:01] [ManzanaCore] INFO: Requesting decrypt keys...
[17:48:02] [ManzanaCore] INFO: Saving decrypt keys...
[17:48:02] [ManzanaCore] INFO: Downloading "08 - A rainy dancer 2021"...

         Downloading ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 9.1/9.1 MB 6.1 MB/s eta 0:00:00

[17:48:07] [ManzanaCore] INFO: Decrypting audio...
[17:48:07] [ManzanaCore] ERROR: Decryption failed!

F:\_爱好\_manualani\Manzana-Apple-Music-Downloader>

And I've added mp4decrypt, CCExtractor and mp4box to PATH: image

If there's any help will be appreciated!

orzli commented 6 months ago

不要把程序放在中文路径下。

Sagi-Rastar commented 4 months ago

不要把程序放在中文路径下。

谢谢🙏犯蠢了