SoundCloud Downloader using local copy of youtube-dl

Download songs from SoundCloud using youtube-dl

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
fke9fgjew89gjwe89
日安装量
0
总安装量
520
评分
2 0 0
版本
1.1
创建于
2020-11-12
更新于
2020-11-12
大小
3.2 KB
许可证
暂无
适用于

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