Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chinese support is not very good:[3752] Failed to execute script 'manzana' due to unhandled exception! #38

Open
Ahaxzh opened this issue Apr 12, 2024 · 0 comments

Comments

@Ahaxzh
Copy link

Ahaxzh commented Apr 12, 2024

System & SoftWare info

OS: Windows 10 Enterprise LTSC 21H2  19044.4291
Experience Windows Feature Experience Pack 1000.19056.1000.0

Manzana: Apple Music Downloader v2.4.0

Shell

Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。

尝试新的跨平台 PowerShell https://aka.ms/pscore6

PS C:\Users\Ahaxzh> manzana.exe https://music.apple.com/cn/artist/%E6%9E%97%E5%AE%A5%E5%98%89/436847316



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

                        ──── Apple Music Downloader ────


[10:53:51] [ManzanaCore] INFO: Loading device...
[10:53:51] [ManzanaCore] INFO: Checking accessToken...
[10:53:51] [ManzanaCore] INFO: Checking mediaUserToken...
[10:53:52] [ManzanaCore] INFO: Checking passed urls...
[10:53:53] [ManzanaCore] INFO: Fetching artist contents...

         Artist: æ宥å
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in <module>:83                                                                                   │
│                                                                                                  │
│ in run:35                                                                                        │
│                                                                                                  │
│ in get_urls:411                                                                                  │
│                                                                                                  │
│ in __get_artist:229                                                                              │
│                                                                                                  │
│ in __get_res:176                                                                                 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
KeyError: 'data'
[3752] Failed to execute script 'manzana' due to unhandled exception!

https://music.apple.com/cn/artist/%E6%9E%97%E5%AE%A5%E5%98%89/436847316
Artist: æ宥å == 林宥嘉

more Log:


[12-04-24 10:54:09] [Manzana] INFO: Loading device...
[12-04-24 10:54:09] [Manzana] DEBUG: Using device: android-generic...
[12-04-24 10:54:09] [Manzana] INFO: Checking accessToken...
[12-04-24 10:54:09] [Manzana] DEBUG: Starting new HTTPS connection (1): amp-api.music.apple.com:443
[12-04-24 10:54:09] [Manzana] DEBUG: https://amp-api.music.apple.com:443 "GET /v1/catalog/us/songs/1450330685 HTTP/1.1" 200 916
[12-04-24 10:54:09] [Manzana] DEBUG: accessToken is working! access-token: eyJh###############fMxNdKaHw
[12-04-24 10:54:09] [Manzana] INFO: Checking mediaUserToken...
[12-04-24 10:54:10] [Manzana] DEBUG: https://amp-api.music.apple.com:443 "GET /v1/me/storefront HTTP/1.1" 200 223
[12-04-24 10:54:10] [Manzana] DEBUG: mediaUserToken is working! mediaUserToken: AobAg/b#########################NBCUuFkMmPVkYlrabfIaq0UfJWENg==
[12-04-24 10:54:10] [Manzana] INFO: Checking passed urls...
[12-04-24 10:54:10] [Manzana] DEBUG: Parsing url...
[12-04-24 10:54:10] [Manzana] DEBUG: UrlParseResult(kind="artist", id="216635866", songId="None")
[12-04-24 10:54:10] [Manzana] DEBUG: Starting new HTTPS connection (1): music.apple.com:443
[12-04-24 10:54:11] [Manzana] DEBUG: https://music.apple.com:443 "GET /cn/artist/%E6%9E%97%E4%BF%8A%E6%9D%B0/216635866 HTTP/1.1" 200 None
[12-04-24 10:54:11] [Manzana] INFO: Fetching artist contents...
[12-04-24 10:54:11] [Manzana] DEBUG: https://amp-api.music.apple.com:443 "GET /v1/catalog/cn/artists/216635866/view/full-albums?limit=100 HTTP/1.1" 200 9377
[12-04-24 10:54:12] [Manzana] DEBUG: https://amp-api.music.apple.com:443 "GET /v1/catalog/cn/artists/216635866/view/singles?limit=100 HTTP/1.1" 200 9718
[12-04-24 10:54:12] [Manzana] DEBUG: https://amp-api.music.apple.com:443 "GET /v1/catalog/cn/artists/216635866/view/music-videos?limit=100 HTTP/1.1" 200 16297


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant