Comments (9)
@Khadeeejah just submitted #623, which is a promising resolution for this issue.
from freyr-js.
https://music.apple.com/assets/index-d98aab9a.js
Why is the docker image still running with a 401 error even though I replaced the tonken in the default conf.json with the latest token?
from freyr-js.
First, can you file another issue? since this is a tracking issue for automation not token-related issues.
And in that, can you elaborate on how you are updating the token and building the image?
from freyr-js.
@miraclx This may be of use https://github.com/lujjjh/LitoMusic/blob/main/scripts/update-developer-token.sh.
from freyr-js.
@zykrah, yeah it's practically equivalent to the script I have in the OP. Just that they're writing it to the file at the end, but you still have to manually call the script.
For freyr, I would like to integrate it directly so that when freyr itself detects that the token has expired, it updates it itself.
from freyr-js.
I've translated the process into a python script, I don't know much JavaScript but I'm sure it wouldn't be too difficult using requests and regex/whatever other string manipulation? As for detection of whether the token has expired, couldn't you just test for 401 responses whenever you call to the endpoint and then run the token update function (and cache it locally?).
from freyr-js.
Yes, exactly. We already have detection, just not update and eventual persistence.
Haven't had the time for a while. 😓
from freyr-js.
how can i do this on my own, i cant run the commands (linux)
from freyr-js.
nvm i got used the script and it worked
from freyr-js.
Related Issues (20)
- I'm getting the error ' [An error occured while communicating with Spotify's Web API]' when trying to download my spotify playlist HOT 3
- how to solve the problem "failed: [Request failed with status code 401]) [i] An error occurred while processing the query" HOT 8
- An error code appears when req spotify and apple music
- Couldn't find package "async@^3.2.4" required by "freyr" on the "npm" registry. HOT 2
- Freyr (failed: Unexpected postprocessing error [Invalid typed array length: undefined]) HOT 4
- How to do i download manually from youtube? HOT 1
- Apple Music 401 Error HOT 1
- Giant File size HOT 3
- Very large file size HOT 6
- Freyr freezes consistently on certain albums/songs in [Embedding Metadata] stage HOT 9
- High memory usage HOT 1
- freyr downloading song that has gameplay audio HOT 2
- Help in running freyr HOT 3
- Error retrieving an Apple Music playlist HOT 7
- Working directory [.] doesn't exist HOT 2
- Downloaded files are all 2.15 GB in size HOT 5
- "Error while collecting source feeds..." HOT 3
- is it work on wsl? HOT 11
- I can't download my playlist. HOT 2
- Downloading spatial audio (atmos) tracks from apple music outputs stereo HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freyr-js.