YT2MP3 is simple perl script for downloading music from YouTube
- Support for songs lists.
- Support for multiple audio formats.
- Configurable audio quality.
- Customizable output file template.
- Install Git.
- Install Perl.
- Install Microsoft Visual C++ 2010 Redistributable Package (x86)
- Run following command in the command prompt:
git clone "https://github.com/DeBos99/yt2mp3.git"
- 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"
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. | ✔️ | ❌ |
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
- Michał Wróblewski - Main Developer - DeBos99
- Discord: DeBos#3292
- Reddit: DeBos99
This project is licensed under the MIT License - see the LICENSE file for details.