Skip to content

YT2MP3 is simple perl script for downloading music from YouTube.

License

Notifications You must be signed in to change notification settings

MasterScott/yt2mp3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YT2MP3

Made with Perl Made with Batch

GitHub GitHub followers GitHub forks GitHub stars GitHub watchers GitHub contributors

GitHub commit activity GitHub commit activity GitHub commit activity GitHub last commit

GitHub issues GitHub closed issues

Donate

YT2MP3 is simple perl script for downloading music from YouTube

Content

Features

  • Support for songs lists.
  • Support for multiple audio formats.
  • Configurable audio quality.
  • Customizable output file template.

Installation

Windows

git clone "https://github.com/DeBos99/yt2mp3.git"

Unix

  • Run following commands in the terminal:
sudo apt install git perl youtube-dl ffmpeg -y
git clone "https://github.com/DeBos99/yt2mp3.git"
  • Run following commands in the terminal:
sudo pacman -S git perl youtube-dl ffmpeg --noconfirm
git clone "https://github.com/DeBos99/yt2mp3.git"
  • Run following commands in the terminal:
sudo yum install git perl youtube-dl ffmpeg -y
git clone "https://github.com/DeBos99/yt2mp3.git"
  • Run following commands in the terminal:
brew install git perl youtube-dl ffmpeg
git clone "https://github.com/DeBos99/yt2mp3.git"

Usage

Command Description Windows Unix
perl main.pl Run script and read songs from STDIN. ✔️ ✔️
perl main.pl FILE Run script and read songs from FILE. ✔️ ✔️
Drag and drop file with songs to main.bat file. Run script and read songs from dropped file. ✔️

Documentation

Optional arguments

Argument Description Default value
-h, --help Shows help message and exits.
-v, --version Shows version and exits.
-s, --songs PATH Sets path to file with songs. STDIN
-f, --format {best aac flac mp3 m4a opus vorbis wav} Sets file format. mp3
-q, --quality {0-9} Sets audio quality. 0
-o, --output TEMPLATE Sets output template. %(title)s.%(ext)s

Output templates can be found here: https://github.com/ytdl-org/youtube-dl/blob/master/README.md#output-template

Authors

  • Michał Wróblewski - Main Developer - DeBos99

Contact

  • Discord: DeBos#3292
  • Reddit: DeBos99

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

YT2MP3 is simple perl script for downloading music from YouTube.

Resources

License

Stars

Watchers

Forks

Packages

No packages published