Skip to content

Instantly share code, notes, and snippets.

@utada
utada / rec_radiko.sh
Last active August 29, 2015 14:01 — forked from matchy256/rec_radiko.sh
#!/bin/bash
LANG=ja_JP.utf8
pid=$$
date=`date '+%Y-%m-%d-%H_%M'`
playerurl=http://radiko.jp/player/swf/player_3.0.0.01.swf
playerfile="/tmp/player.swf"
keyfile="/tmp/authkey.png"
#!/bin/bash
pid=$$
date=`date '+%Y-%m-%d-%H_%M'`
playerurl="http://www3.nhk.or.jp/netradio/files/swf/rtmpe.swf"
outdir="."
if [ $# -le 1 ]; then
echo "usage : $0 channel_name duration(minuites) [outputdir] [prefix]"
exit 1