Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
flopana committed Oct 1, 2019
2 parents 482e325 + 176cbbc commit 1ba78a6
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 7 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
Simple YouTube Downloader
# Simple-YouTube-Downloader
Simple-YouTube-Downloader is a tiny Batch script which allows you to download YouTube
Videos and convert them to MP3 if needed.

This Script is written in Batch and uses Youtube-DL to download the video and ffmpeg to convert it.
## Installation
To "install" you just need to download the latest Version and start the yt.bat

## Usage
After starting the **yt.bat** you will be prompted with following Menu:

![alt Menu](https://i.imgur.com/21KUCbg.png)

To choose an option just type in of the Numbers and press enter.
After that you will be asked to provide a YouTube link which can simply be pasted
from your clipboard by RightClicking into the Terminal.

If no errors occur you will see something like this:

![enter Downloading process](https://i.imgur.com/JNRRmzW.png)

As you can see you will also be able to provide another Link.

**Note: You can also paste whole YouTube playlists they will be automatically downloaded.**
14 changes: 9 additions & 5 deletions yt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@ goto start

:option_1
set /p link=Youtube Link:
youtube-dl.exe -x --audio-format mp3 --audio-quality 0 "%link%"
goto start
youtube-dl -x --audio-format mp3 --audio-quality 0 "%link%" -o "%%(title)s.%%(ext)s"
echo.
echo You can enter a new yotube link below:
goto option_1

:option_2
set /p link=Youtube Link:
youtube-dl "%link%"
goto start
youtube-dl "%link%" -o "%%(title)s.%%(ext)s"
echo.
echo You can enter a new yotube link below:
goto option_2

pause > nul
pause > nul

0 comments on commit 1ba78a6

Please sign in to comment.