C
C#•8mo ago
Mekasu0124

getting some music off Apple Music

Is there a library I can use to pull all of my songs off my Apple Music library and out them on my computer?
11 Replies
Buddy
Buddy•8mo ago
Check if they have an API
Buddy
Buddy•8mo ago
Apple Developer Documentation
Apple Music API | Apple Developer Documentation
Integrate streaming music with catalog and personal content.
Mekasu0124
Mekasu0124OP•8mo ago
Ok bet
Pobiega
Pobiega•8mo ago
You likely won't get the actual music, but can probably grab data, like titles and artists etc
Mekasu0124
Mekasu0124OP•8mo ago
even if I could just get the titles and artists and albumn names, that would be great because then I could use a different api that allows free music download, or use webscraping to pull the song from youtube and then webscrape it through a site that converts it to a .mp4 and then download it maybe?
Pobiega
Pobiega•8mo ago
Scraping YouTube is against their tos
leowest
leowest•8mo ago
not to mention that latter would be potentially classified as piracy.
Mekasu0124
Mekasu0124OP•8mo ago
well I don't want to pirate, but I just want to use the apple music api to get the list of the songs. Like an output of:
<Albumn> <Title> <Duration> <Artist>
<Albumn> <Title> <Duration> <Artist>
in a file, and then I can take that file and import the list, iterate through the list, then use YouTube to get the song's url and put it through https://ytmp3s.nu/ this site and it creates an mp3 that you can convert and download. I just wanted to get a list of each songs info in a text file that is in my apple music library. I would do it by hand if it were like 20 songs, but it's over 200 and I'm not doing all that typing/writing 😂
YTMP3 - YouTube to MP3 Converter
Download your YouTube videos as MP3 (audio) or MP4 (video) files for free with the fastest and most powerful YouTube Converter. No app or software needed.
Pobiega
Pobiega•8mo ago
Ytmp3 itself is very much breaking TOS But the getting the artist/title is simple enough
Mekasu0124
Mekasu0124OP•8mo ago
ok. I'll settle for the artist and title then. I can manually look up songs and download them the normal way
Pobiega
Pobiega•8mo ago
yep, looks like their api has all you need for that https://developer.apple.com/documentation/applemusicapi/get_a_library_playlist
Want results from more Discord servers?
Add your server