https://github.com/rollecode/youtube2mp3
Bash script for getting mp3 track from youtube video
https://github.com/rollecode/youtube2mp3
Last synced: 27 days ago
JSON representation
Bash script for getting mp3 track from youtube video
- Host: GitHub
- URL: https://github.com/rollecode/youtube2mp3
- Owner: rollecode
- Created: 2012-03-14T08:12:55.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2016-10-27T18:52:50.000Z (over 9 years ago)
- Last Synced: 2026-05-02T13:33:36.043Z (28 days ago)
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# youtube2mp3
A simple bash script for *nixers who sometimes need the song quickly in mp3 format, for example for ringtone or morning alarm.
## Requirements
- [ffmpeg](https://www.ffmpeg.org/) - Cross-platform solution to record, convert and stream audio and video.
- [youtube-dl](https://github.com/rg3/youtube-dl) - Command-line program to download videos from YouTube.com and other video sites
- [id3v2](http://id3v2.sourceforge.net/) - A command line editor for id3v2 tags
## Installation
1. Git clone repository to your desired path
2. Symlink: `sudo ln -s /path/to/youtube2mp3/youtube2mp3 /usr/local/bin/youtube2mp3`
3. Add execute permissions: `sudo chmod +x /usr/local/bin/youtube2mp3`
## Usage
````
$ youtube2mp3
Usage: youtube2mp3 [URL]
````
Update with `cd /path/to/youtube2mp3 && git pull`.