rget
Downloading newest radio programs on the web. Supported radio stations are:
- hibiki
- onsen
- niconico
- himalaya.fm
- Asobi Store
- stand.fm
- YouTube (playlist or channel)
If you want to save files as MP3, needs ffmpeg
command.
To download niconico video or YouTube, also needs latest youtube-dl
command (you can get it from https://yt-dl.org/
), then specify user ID and password to ~/.netrc
for niconico as:
machine niconico
login [your login]
password [your password]
For customize radio programs, copy rget.yaml
to ~/.rget
or current work directory and edit it. config file search paths are:
-
RGET_CONFIG
environment variable ./rget.yaml
~/.rget
-
<command path>/../rget.yaml
(for gem)
Installation and Setup
$ gem install rget
$ rget init > ~/.rget # or your local rget.yaml
Usage
rget command
download a recent radio program to .MP3/.MP4 file.
# save a template of the radio program configration
rget yaml http://example.com/radio >> ~/.rget
# download and convert to mp3 THE iDOLM@STER Cinderella Girls Radio
rget imas_cg
# download suzakinishi only (saving movie file as .MP4)
rget suzakinishi --no-mp3
# srore mp3 file to specified directory
rget matsui --path=/home/hoge/radio
# store mp3 file to radio folder of Dropbox
rget shiny_radio --path=dropbpx://radio
add_mp3info command
set cover photo into mp3 file and set file name as the title
add_mp3info sample.mp3 cover.jpg