-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This version will not be updated, and I can't guarantee that I can give support for issues.
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@echo OFF | ||
|
||
cd "[The location where you have yt-dlp.exe]" | ||
|
||
title Enter URL to Download | ||
|
||
set /p URL=URL: | ||
|
||
cls | ||
|
||
title Enter File Format | ||
|
||
set /p format=Audio (a) or Video (v)?: | ||
|
||
cls | ||
|
||
title Downloading... | ||
|
||
if %format%==a yt-dlp.exe -P "[The location where you want downloaded files to appear]" -x -f "ba/b" -o "%%(title)s.%%(ext)s" -w %URL% | ||
if %format%==v yt-dlp.exe -P "[The location where you want downloaded files to appear]" -f "bv+ba/b" -o "%%(title)s.%%(ext)s" -w %URL% | ||
|
||
if %format%==a @echo Audio - %URL%>>"[The location where you have your log.txt file]" | ||
if %format%==v @echo Video - %URL%>>"[The location where you have your log.txt file]" | ||
|
||
cls | ||
|
||
title Download more? | ||
|
||
set /p more=Do you want to download more? Yes (y) or No (n): | ||
|
||
if %more%==y start Run.bat | ||
if %more%==y exit | ||
if %more%==n goto b | ||
|
||
:b | ||
|
||
explorer "[The location where you want downloaded files to appear]" | ||
|
||
exit |