Skip to content

Commit

Permalink
Added version 1
Browse files Browse the repository at this point in the history
This version will not be updated, and I can't guarantee that I can give support for issues.
  • Loading branch information
mrblomblo authored Mar 30, 2024
1 parent b60fc92 commit 2fd76f3
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions legacy/run.txt
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

0 comments on commit 2fd76f3

Please sign in to comment.