Project

rget

0.01
Low commit activity in last 3 years
No release in over a year
Downloading newest radio programs on the web. Supported radio stations are hibiki, onsen, niconico, himalaya, asobi store, stand.fm and youtube.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0

Runtime

>= 1.8.0
>= 1.7.0
>= 0
>= 0
>= 0
 Project Readme

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