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

Downloading from apple music fails #501

Closed
oezingle opened this issue Jun 2, 2023 · 2 comments
Closed

Downloading from apple music fails #501

oezingle opened this issue Jun 2, 2023 · 2 comments

Comments

@oezingle
Copy link

oezingle commented Jun 2, 2023

Attempting to download the example album or any other content through Apple Music fails while collecting metadata. It seems that the Developer token is expired. I tried digging around for the new default token, but can't find anything

Output of freyr https://music.apple.com/us/album/im-sorry-im-not-sorry-ep/1491795443

    ____                    
   / __/_______  __  _______
  / /_/ ___/ _ \/ / / / ___/
 / __/ /  /  __/ /_/ / /    
/_/ /_/   \___/\__, /_/     
              /____/ v0.9.0

freyr - (c) Miraculous Owonubi <omiraculous@gmail.com>
------------------------------------------------------
Checking directory permissions...[done] 
[https://music.apple.com/us/album/im-sorry-im-not-sorry-ep/1491795443]
 [•] Identifying service...[Apple Music]
 [•] Checking authentication...[authenticated]
 Detected [album]
 Obtaining album metadata...(node:27054) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(failed: [Request failed with status code 401]) 
 [i] An error occurred while processing the query
============ Stats ============
 [•] Runtime: [404ms]
 [•] Total queries: [01]
 [•] Total tracks: [00]
     » Skipped: [00]
     ✓ Passed:  [00]
     ✕ Failed:  [00]
 [•] Output directory: [.]
 [•] Total Output size: 0.00 B
 [•] Total Network Usage: 0.00 B
     ♫ Media: 0.00 B
     ➤ Album Art: 0.00 B
 [•] Output bitrate: 320k
===============================
@miraclx
Copy link
Owner

miraclx commented Jun 3, 2023

Duplicate of #452. The npm package and latest docker image are out of date and currently have expired credentials.

Install freyr directly from the git source.

npm install miraclx/freyr-js

or if you're using docker, pull the latest docker image built from git

docker pull freyrcli/freyrjs-git:master

@miraclx miraclx closed this as completed Jun 3, 2023
@miraclx
Copy link
Owner

miraclx commented Aug 8, 2023

v0.10.0 has been released with this fix.

https://github.com/miraclx/freyr-js/releases/tag/v0.10.0

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

2 participants