Skip to content

Instantly share code, notes, and snippets.

@ongaeshi
Created June 18, 2017 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ongaeshi/2d110149795318cd9dc3e47ebe8da572 to your computer and use it in GitHub Desktop.
Save ongaeshi/2d110149795318cd9dc3e47ebe8da572 to your computer and use it in GitHub Desktop.
require "radiko/radiko"
def c(channel, wday)
Radiko.new(channel, last_wday(wday + 1, 1, 0)).astr(channel)
end
def junk(title, wday)
print title, "\n",
c("TBS", wday), " ",
c("RBC", wday), " ",
c("CRK", wday), " ",
c("RKB", wday), " ",
c("HBC", wday), " ",
"\n\n"
end
junk("伊集院光・深夜の馬鹿力", 1)
junk("爆笑問題カーボーイ", 2)
junk("山里亮太の不毛な議論", 3)
junk("おぎやはぎのメガネびいき", 4)
junk("バナナマンのバナナムーンGOLD", 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment