Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

TLDR: find how SoundCloud generates stream links by observing the browser’s Network tab (one request to an API endpoint with some data from the page’s HTML) and converting that to Python.

A good tutorial for beginners but I’m quite disappointed, I was expecting more complex things like actually reverse-engineering a DRM scheme.



Concerning a DRM scheme: why bother. Audio will be played anyway (the sole purpose of the site), so there is no win gained by implementing a restrictions management.


Nah, the worst SoundCloud has done in my experience is to blacklist an app I registered with them that called their undocumented APIs after watching what their apps called.

Fair enough, I guess it violates TOS but a bit annoying since public API is basically abandoned and lacks a lot of features.


You wouldn't have happened to have been using the api-v2?


Yes, I did :)

Can't remember why, I think some fields needed to stream in the same way as the app, or read some metadata, were only present on v2.


Same here. A cool trick but not exactly reverse engineering the API.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: