Skip to content

Commit

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

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


:selection
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO 1) Video + Audio
ECHO 2) Single format (Audio only / Video only)
ECHO.
Expand All @@ -23,31 +25,36 @@ if %option% == 1 (goto download)
if %option% == 2 (goto downloadSingle)
ECHO.
ECHO Unknown value
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
goto selection

:download
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
SET /P video="Select video format: "
SET /P audio="Select audio format: "
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 Done!
PAUSE
EXIT

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

8 changes: 8 additions & 0 deletions ytdlBasic.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
@ECHO OFF
color 0A
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO.
SET /P URL="[Enter video URL] "
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO.
youtube-dl -o Downloads/%%(title)s.%%(ext)s -i --ignore-config --hls-prefer-native %URL%
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO.
ECHO Done!
PAUSE
EXIT
8 changes: 8 additions & 0 deletions ytdlCustom.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
@ECHO OFF
color 0A
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO.
SET /P URL="[Enter video URL] "
SET /P arguments="Enter custom arguments: "
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO.
youtube-dl -o Downloads/%%(title)s.%%(ext)s %URL% %arguments%
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO.
ECHO Done!
PAUSE
EXIT
6 changes: 6 additions & 0 deletions ytdlInfo.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
@ECHO OFF
color 0A
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO.
youtube-dl -v
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO.
ECHO Done!
PAUSE
EXIT
6 changes: 6 additions & 0 deletions ytdlUpdate.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
@ECHO OFF
color 0A
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO.
youtube-dl -U
ECHO.
ECHO ----------------------------------------------------------------------------------------------------------------------
ECHO.
ECHO Done!
PAUSE
EXIT

0 comments on commit 745eb53

Please sign in to comment.