Record the radiko.jp programs.
Please refrain from using beyond the range of personal listening.
・Go 1.7 or newer
$ go get github.com/yyoshiki41/radigo/cmd/radigo/...
- ffmpeg
- rtmpdump (only if recording a live streaming radio)
$ make init
$ radigo help
usage: radigo [--version] [--help] <command> [<args>]
Available commands are:
area Get available station ids
browse Browse radiko.jp
browse-live Browse radiko.jp live
rec Record a radiko program
rec-live Record a live program
$ radigo area
Area ID: JP13
+------------------+----------------+
| NAME | STATION ID |
+------------------+----------------+
| TBSラジオ | TBS |
| ニッポン放送 | LFR |
| InterFM897 | INT |
| TOKYO FM | FMT |
| J-WAVE | FMJ |
| bayfm78 | BAYFM78 |
| NACK5 | NACK5 |
| FMヨコハマ | YFM |
+------------------+----------------+
Record the program using the timefree.
$ radigo rec -id=LFR -s=20161126010000
Now downloading..
+------------+---------------------------------+
| STATION ID | TITLE |
+------------+---------------------------------+
| LFR | オードリーのオールナイトニッポン |
+------------+---------------------------------+
Completed!
/tmp/radigo/output/20161126010000-LFR.mp3
Record the live streaming program.
$ radigo rec-live -id=LFR -t=3600
Now downloading..
+------------+---------------+
| STATION ID | DURATION(SEC) |
+------------+---------------+
| LFR | 3600 |
+------------+---------------+
Completed!
/tmp/radigo/output/20161205083547-LFR.mp3
Browse radiko.jp.
$ radigo browse -id=LFR -s=20161126010000
$ radigo browse-live -id=LFR
Default: /tmp/radigo
If you want to change the working dir, set the environment variables.
RADIGO_HOME
If use the area free, set the environment variables.
RADIKO_MAIL
RADIKO_PASSWORD
Remove output files.
$ make clean
The MIT License
Yoshiki Nakagawa