Created
June 18, 2017 07:15
-
-
Save ongaeshi/2d110149795318cd9dc3e47ebe8da572 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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