GISTS/windows/yt-dlp scripts/youtube-dl-all.bat

15 lignes
574 o
Batchfile
Brut Vue normale Historique

2024-05-02 00:13:10 +02:00
@echo off
set savepath=B:\Albirew\Bureau
set binpath=%~dp0
cd %savepath%
echo Usage: yt-dlp.exe [OPTIONS] URL [URL...]
echo --geo-bypass-country CODE Force bypass geographic restriction with ISO 3166-2 country code
echo.
set /P command=Enter options and video URL:
if ["%command%"] == [""] exit 0
echo.
echo $^>yt-dlp -x -k -f b --audio-format mp3 --write-sub --sub-lang fr,en --yes-playlist --geo-bypass %command%
"%binpath%\yt-dlp.exe" -x -k -f b --audio-format mp3 --write-sub --sub-lang fr,en --yes-playlist --geo-bypass %command%
IF %ERRORLEVEL% NEQ 0 pause