-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request - Integrate Soundcloud #70
Comments
This would be amazing to see. @fiso64, you might be able to take inspiration from 3jackdaws/soundcloud-lib for getting SoundCloud tracks. Alternatively you can use browser automation and/or webscraping tools (e.g. Selenium / BeautifulSoup). I've managed to get slsk-batchdl to work with SoundCloud URLs by scraping them using Selenium and BeautifulSoup, writing to a CSV and then passing that CSV to slsk-batchdl. Not the most elegant solution, but it works. Here's a couple of code snippets:
|
I've thought about this before but have decided against working on it because soundcloud doesn't make this easy (and scraping is annoying). I am open to any pull requests though. The extractor code is one of the few parts of the program that is well structured and should be easy to extend for anyone interested. P.S: When downloading from soundcloud I prefer to first get the original file in case the uploader has provided any, then try soulseek, and then fallback to downloading the re-encoded m4a or mp3 file from soundcloud. I use a modified version of https://github.com/scdl-org/scdl that calls sldl whenever it is about to download a re-encoded file. This kind of integration would be hard to implement in sldl without copying much of the logic from scdl. |
Thank you for this tool, hoping that you integrate Soundcloud at some point.
The text was updated successfully, but these errors were encountered: