apple-playlist-downloader icon indicating copy to clipboard operation
apple-playlist-downloader copied to clipboard

Song number limit: 100

Open wildlighted opened this issue 2 years ago • 11 comments

Hello!

The tool works wonderfully but seems to cut off playlists at 100 songs. Some of mine are longer and while testing on them only the first 100 tracks were found and downloaded. If you could look into it it would be cool, but as it stands the tool is already a great help :)

Thanks!

wildlighted avatar Mar 14 '22 11:03 wildlighted

Yeah, already seen this issue and I’ll try to fix it!

Le 14 mars 2022 à 12:40 PM, Alina Morse @.***> a écrit :

 Hello!

The tool works wonderfully but seems to cut off playlists at 100 songs. Some of mine are longer and while testing on them only the first 100 tracks were found and downloaded. If you could look into it it would be cool, but as it stands the tool is already a great help :)

Thanks!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

b5i avatar Mar 14 '22 13:03 b5i

Any updates on this issue?

greendoescode avatar Jun 18 '22 22:06 greendoescode

Can you share playlist URL with 100+ songs

Shubhamrawat5 avatar Jun 23 '22 06:06 Shubhamrawat5

Can you share playlist URL with 100+ songs

https://music.apple.com/ch/playlist/hits-des-ann%C3%A9es-80-les-indispensables/pl.af4d982795c6472ea48579eb147cd726?l=fr

b5i avatar Jun 23 '22 07:06 b5i

Can you share playlist URL with 100+ songs

https://music.apple.com/ch/playlist/hits-des-ann%C3%A9es-80-les-indispensables/pl.af4d982795c6472ea48579eb147cd726?l=fr

okay so page shows only first 100 songs then on scroll to the end loads further tracks info. I'm not sure if we can achieve this with currently used axios and web scrapping

Shubhamrawat5 avatar Jun 23 '22 07:06 Shubhamrawat5

okay so page shows only first 100 songs then on scroll to the end loads further tracks info. I'm not sure if we can achieve this with currently used axios and web scrapping

Yep, maybe scrap the request format and adapt it to the playlist ?

b5i avatar Jun 23 '22 11:06 b5i

Interesting fact : Apple Music Beta web interface does not load the entire playlist but only the first 100 tracks ! 🙃

b5i avatar Jun 23 '22 12:06 b5i

Ok, Could you make a linking to the apple music api , then maybe like get the the first 100 songs, and then create a new playlist with the rest?

greendoescode avatar Jun 23 '22 12:06 greendoescode

Ok, Could you make a linking to the apple music api , then maybe like get the the first 100 songs, and then create a new playlist with the rest?

I'm trying to.

b5i avatar Jun 23 '22 12:06 b5i

Aha cool, sorry bout that

greendoescode avatar Jun 23 '22 12:06 greendoescode

The easiest way is to get the url used by the official Apple Music website, and I found it ! https://amp-api.music.apple.com/v1/me/library/playlists/p.xraeqeJiM90AD9X/tracks?include%5Bsongs%5D=artists%2Ccomposers&fields%5Bartists%5D=name%2Curl& offset=100 I'll implement that in the program in a few hours/days.

b5i avatar Jun 23 '22 12:06 b5i

It should be fetching more than 100 songs now, can anyone verify?

Shubhamrawat5 avatar Aug 30 '23 20:08 Shubhamrawat5

It should be fetching more than 100 songs now, can anyone verify?

It is 👍

b5i avatar Aug 31 '23 18:08 b5i