Skip to content

Commit

Permalink
Added files
Browse files Browse the repository at this point in the history
  • Loading branch information
edinsuta authored Dec 23, 2021
1 parent c38e194 commit 3c93382
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 0 deletions.
59 changes: 59 additions & 0 deletions yt-dlp_Advanced.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
@ECHO OFF
ECHO ======================================================================================================================
ECHO.
SET /P URL="[Enter video URL] "
ECHO.
ECHO ======================================================================================================================
goto formatList

:formatList
ECHO.
yt-dlp -F "%URL%"
ECHO.
ECHO ======================================================================================================================
goto selection


:selection
ECHO.
ECHO 1) Video + Audio
ECHO 2) Single format (Audio only / Video only)
ECHO.
SET /P option="Select option: "
if %option% == 1 (goto download)
if %option% == 2 (goto downloadSingle)
ECHO.
ECHO Unknown value
ECHO.
ECHO ======================================================================================================================
goto selection

:download
ECHO.
SET /P video="Select video format: "
SET /P audio="Select audio format: "
ECHO.
ECHO ======================================================================================================================
ECHO.
yt-dlp -o "Downloads/%%(title)s.%%(ext)s" -f "%video%+%audio%" -i --ignore-config "%URL%"
ECHO.
ECHO ======================================================================================================================
ECHO.
ECHO Done!
PAUSE
EXIT

:downloadSingle
ECHO.
SET /P format="Select format: "
ECHO.
ECHO ======================================================================================================================
ECHO.
yt-dlp -o "Downloads/%%(title)s.%%(ext)s" -f "%format%" -i --ignore-config "%URL%"
ECHO.
ECHO ======================================================================================================================
ECHO.
ECHO Done!
PAUSE
EXIT

14 changes: 14 additions & 0 deletions yt-dlp_Basic.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@ECHO OFF
ECHO ======================================================================================================================
ECHO.
SET /P URL="[Enter video URL] "
ECHO.
ECHO ======================================================================================================================
ECHO.
yt-dlp -o "Downloads/%%(title)s.%%(ext)s" -i --ignore-config "%URL%"
ECHO.
ECHO ======================================================================================================================
ECHO.
ECHO Done!
PAUSE
EXIT
15 changes: 15 additions & 0 deletions yt-dlp_Custom.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@ECHO OFF
ECHO ======================================================================================================================
ECHO.
SET /P URL="[Enter video URL] "
SET /P arguments="Enter custom arguments: "
ECHO.
ECHO ======================================================================================================================
ECHO.
yt-dlp -o "Downloads/%%(title)s.%%(ext)s" "%URL%" %arguments%
ECHO.
ECHO ======================================================================================================================
ECHO.
ECHO Done!
PAUSE
EXIT
10 changes: 10 additions & 0 deletions yt-dlp_Info.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@ECHO OFF
ECHO ======================================================================================================================
ECHO.
yt-dlp -v
ECHO.
ECHO ======================================================================================================================
ECHO.
ECHO Done!
PAUSE
EXIT
10 changes: 10 additions & 0 deletions yt-dlp_Update.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@ECHO OFF
ECHO ======================================================================================================================
ECHO.
yt-dlp -U
ECHO.
ECHO ======================================================================================================================
ECHO.
ECHO Wait...
PAUSE
EXIT

0 comments on commit 3c93382

Please sign in to comment.