SoundCloud Downloader using local copy of youtube-dl

Download songs from SoundCloud using youtube-dl

نووسەر
fke9fgjew89gjwe89
Daily installs
0
Total installs
488
Ratings
2 0 0
وەشان
1.1
Created
2020-11-12
Updated
2020-11-12
مۆڵەت
نییە
Applies to

With this script you can generate a button on soundcloud that sends the song url to youtube-dl
These instructions are for windows

---SETUP INFO---
First get a copy of youtube-dl

Create a file called parse.cmd in your youtube-dl folder and paste these contents in
Modify the download location as you see fit

@echo off
set "dloc=C:\Users\%USERNAME%\Downloads\"
set "str=%~1"
set "str=%str:ytdl://=%"
FOR /f "tokens=*" %%G IN ('dir /b %~dp0youtube-dl*.exe') do start "" "%~dp0%%G" -o "%DLOC%%%(title)s.%%(ext)s" "%str%"
exit 0

After that open a command prompt as admin and run these two commands
The highlighted part is the path to your youtube-dl folder and parse.cmd, change this to yours
reg add "HKCR\ytdl" /v "URL protocol" /t REG_SZ /d "" /f
reg add "HKCR\ytdl\shell\open\command" /ve /t REG_SZ /d "\"C:\ProgramData\chocolatey\lib\youtube-dl\tools\parse.cmd\" \"%1\"" /f
After all this is done, you can install this script