SoundCloud Downloader using local copy of youtube-dl

Download songs from SoundCloud using youtube-dl

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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