scdl icon indicating copy to clipboard operation
scdl copied to clipboard

scdl not detecting the whole list of likes

Open laur89 opened this issue 9 years ago • 11 comments

How would I go about debugging this? When downloading likes list, scdl reports

Likes no258 of 469

while there are over 600 likes.

laur89 avatar Aug 07 '16 08:08 laur89

I have the same issue, I have more than 700 but it only shows some 560.

hemantchhabra avatar Aug 07 '16 09:08 hemantchhabra

I think soundcloud count the playlist you liked, but the api shows only track.

flyingrub avatar Aug 08 '16 09:08 flyingrub

Yeh it's quite weird. On another computer, it says count to be 465, but I'm in another geolocation, so might be related to that. Took my time and scrolled to the bottom of the likes list (so SC eventually lazy-loaded all the list) on SC and counted the elements:

document.getElementsByClassName('soundList__item').length
550

yet i see 661 likes in the sidebar.

Could it be that the 661 is made up of all unique items from likes, playlists & albums from https://soundcloud.com/you/collection?

laur89 avatar Aug 08 '16 13:08 laur89

I seem to be having this issue as well. I have 83 likes in SC but when I run

[ignoreme@ignored Music]$ /usr/bin/scdl me -f Soundcloud Downloader

Hello username!

Retrieving all likes of user username... Retrieved 73 likes Likes n°1 of 73 Downloading song Downloading the original file.

Music already exists ! (exiting)

I don't have any playlists, albums, tracks, or playlists.

ghost avatar Oct 23 '16 19:10 ghost

there seems to be a discrepancy between what this api returns and what the api their frontend uses returns - I don't know what the business logic/decisions between the differences is though, there's nothing obvious in the responses. I'm not going to go further in to it though as api-v2 that their frontend uses is undocumented AFAIK

arahayrabedian avatar Jul 17 '17 15:07 arahayrabedian

I managed to get the correct list of like by using their client_id in the page. This hasn't anything to do with the new api, I think. This has to do with the uploader disabling the use of his track in external app (you have an option to do that when you upload a song).

flyingrub avatar Jul 17 '17 16:07 flyingrub

ah, that makes sense - also, wow, super fast patching!

edit: ah, june 17th != july 17th :P

arahayrabedian avatar Jul 17 '17 16:07 arahayrabedian

thought i've tried the latest version and i still don't get all my likes/favourites :(

arahayrabedian avatar Jul 17 '17 17:07 arahayrabedian

replace CLIENT_ID by ALT2_CLIENT_ID in __init__.py then reinstall with python3 setup.py install.

The problem of using their client_id is that we cannot use the access token that is needed to access private track and playlist.

flyingrub avatar Jul 17 '17 18:07 flyingrub

already tried that, no dice :(

arahayrabedian avatar Jul 17 '17 19:07 arahayrabedian

at times, soundcloud will not correctly populate all of your likes. as a result, this program will not retrieve the correct amount of likes. go back in a couple days and try again.

crvfts avatar Dec 07 '17 00:12 crvfts