Skip to content

Commit

Permalink
Tiny changes
Browse files Browse the repository at this point in the history
  • Loading branch information
edinsuta authored Mar 6, 2021
1 parent 745eb53 commit eef6698
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
16 changes: 8 additions & 8 deletions ytdlAdvanced.bat
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
@ECHO OFF
color 0A
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
SET /P URL="[Enter video URL] "
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
goto formatList

:formatList
ECHO.
youtube-dl -F %URL%
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
goto selection


Expand All @@ -26,19 +26,19 @@ if %option% == 2 (goto downloadSingle)
ECHO.
ECHO Unknown value
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
goto selection

:download
ECHO.
SET /P video="Select video format: "
SET /P audio="Select audio format: "
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
youtube-dl -o Downloads/%%(title)s.%%(ext)s -f %video%+%audio% -i --ignore-config --hls-prefer-native %URL%
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
ECHO Done!
PAUSE
Expand All @@ -48,11 +48,11 @@ EXIT
ECHO.
SET /P format="Select format: "
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
youtube-dl -o Downloads/%%(title)s.%%(ext)s -f %format% -i --ignore-config --hls-prefer-native %URL%
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
ECHO Done!
PAUSE
Expand Down
6 changes: 3 additions & 3 deletions ytdlBasic.bat
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
@ECHO OFF
color 0A
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
SET /P URL="[Enter video URL] "
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
youtube-dl -o Downloads/%%(title)s.%%(ext)s -i --ignore-config --hls-prefer-native %URL%
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
ECHO Done!
PAUSE
Expand Down
6 changes: 3 additions & 3 deletions ytdlCustom.bat
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
@ECHO OFF
color 0A
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
SET /P URL="[Enter video URL] "
SET /P arguments="Enter custom arguments: "
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
youtube-dl -o Downloads/%%(title)s.%%(ext)s %URL% %arguments%
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
ECHO Done!
PAUSE
Expand Down
4 changes: 2 additions & 2 deletions ytdlInfo.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@ECHO OFF
color 0A
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
youtube-dl -v
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
ECHO Done!
PAUSE
Expand Down
6 changes: 3 additions & 3 deletions ytdlUpdate.bat
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@ECHO OFF
color 0A
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
youtube-dl -U
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO ======================================================================================================================
ECHO.
ECHO Done!
ECHO Wait...
PAUSE
EXIT

0 comments on commit eef6698

Please sign in to comment.