rec_radiko.sh #!/bin/bash LANG=ja_JP.utf8 pid=$$ date=`date '+%Y-%m-%d-%H_%M'` outdir="." if [ $# -le 1 ]; then echo "usage : $0 channel_name duration(minuites) [outputdir] [prefix]" exit 1 fi if [ $# -ge 2 ]; then channel=$1 DURATION=`expr $2 \* 60` fi if [ $# -ge 3 ]; then outdir=$3 fi PREFIX=${channel} if [ $# -ge 4 ]; then PREFIX=$4 fi #### # Define authorize key value (from http://radiko.jp/a
![簡易Radiko録音スクリプト · GitHub](https://cdn-ak-scissors.b.st-hatena.com/image/square/3bee82c7f10f49ac6c52299be9b4859b1ed55b29/height=288;version=1;width=512/https%3A%2F%2Fgithub.githubassets.com%2Fimages%2Fmodules%2Fgists%2Fgist-og-image.png)