miraclx / freyr-js

A tool for downloading songs from music streaming services like Spotify and Apple Music.
https://git.io/freyr-js
Apache License 2.0
1.53k stars 95 forks source link

chore(Apple Music): update readme & restore custom dev token #624

Closed Khadeeejah closed 9 months ago

Khadeeejah commented 9 months ago

Restores the custom developer token option, in case anyone has utility for that.

Before tokens are stored in the session cache, they are tested to ensure they've both not expired, and Apple Music actually permits it's use.

The use of a valid token in the conf.json overrides the session token.

And an invalid token in conf.json falls back to the session token.

An invalid session token would fallback to pulling it from the Apple Music website.

miraclx commented 9 months ago

Thank you for your contributions!