tomasruud / downcloud

Download your own Soundcloud tracks (uncompressed)
https://downcloud.ruud.ninja
23 stars 4 forks source link

Migrate Soundcloud link authentication #10

Closed tomasruud closed 2 years ago

tomasruud commented 3 years ago

Soundcloud are changing their authentication scheme, which will break the multi download option and current setup for downloading files. This will need to be resolved somehow.

See https://developers.soundcloud.com/blog/security-updates-api

tomasruud commented 2 years ago

Because of these changes, it is necessary to migrate the existing setup over to use authorisation headers instead of the query param to pass auth token to Soundcloud's API. Because of this, it is now really hard to do downloads, because Soundcloud are restricting CORS headers for download requests, as well as removing the urls themselves from the API response.

This application will probably need to be rewritten in a way that it won't be using the browser anymore. This will be handled in a separate issue, closing this in favour of #12 .