14 lignes
574 o
Batchfile
14 lignes
574 o
Batchfile
@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
|