Created
October 2, 2025 22:40
-
-
Save eduardopintor/2d84082c26768b97bd28e70645535f70 to your computer and use it in GitHub Desktop.
Youtube playlist mp3 download - Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| title Youtube-Dlp | |
| cd C:\Program Files (x86)\Youtube-dlp | |
| set /p "url=Enter URL: " | |
| choice /c YN /m "Download Whole Playlist?" | |
| if %ERRORLEVEL% == 1 (yt-dlp -x --audio-format mp3 -o "C:\Users\YourName\Music\Unsorted\%%(title)s.%%(ext)s" --rm-cache-dir "%url%") | |
| if %ERRORLEVEL% == 2 set /p "startnumber= Start at: " | |
| if %ERRORLEVEL% == 2 set /p "endnumber= End at: " | |
| if %ERRORLEVEL% == 2 yt-dlp -x --audio-format mp3 -o "C:\Users\YourName\Music\Unsorted\%%(title)s.%%(ext)s" --rm-cache-dir --playlist-start %startnumber% --playlist-end %endnumber% "%url%" | |
| CMD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment