Skip to content

Conversation

@hyunbinseo
Copy link

Thanks for the great CLI!

The app seems to check for the media-user-token cookie.

https://github.com/glomatico/gamdl/blob/2.5.1/gamdl/apple_music_api.py#L55-L61

Could an cookies.txt example be added for those who can extract this key-value using the browser dev tools?

.music.apple.com	TRUE	/	TRUE	1767225600	media-user-token	cookie-value-goes-here

@glomatico
Copy link
Owner

I don't think this is needed. The README specifies you have to be logged in with an active subscription when exporting cookies, which implies the presence of the media-user-token in the cookies.

@hyunbinseo
Copy link
Author

Actually, the media-user-token was not exported in my Firefox setup.

The container tabs could be a culprit? Anyway, that's why I looked through the source code.

Also the codeblock I've written is collapsed by default, so it's probably for those who seek for it.

@glomatico glomatico closed this Nov 18, 2025
@hyunbinseo hyunbinseo deleted the patch-1 branch November 19, 2025 01:41
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

Successfully merging this pull request may close these issues.

2 participants