You are not logged in.
I want to download my fave radio show from kiss fm to listen to later. You can listen anytime on the kiss kube website. http://kube.totalkiss.com
The trouble is the link to the show I want is just a javascript function. Any of you clever peeps know how I can pull it down. Here is the link as shown when I hover my mouse over
javascript:parent.listenAgain('kisskube/kissauto/05-0000-0100-192.mp3','DJ%20Hype',40);
Offline
url is in the string... 'kisskube/kissauto/05-0000-0100-192.mp3' i can't access the site (i'm not in uk) and i can't spoof it from work to verify the url, but that link is the path to the mp3. just have to figure out the base
Offline
Yeah, I can't figure out the base. I didn't know if w3m could evaluate the javascript and get me my file or something along those lines.
The show is on 22:00 on a Wednesday night you see, I like to listen to it on my iPod in my work can etc
Thanks for helping tho. Can't believe you can't get kiss outside the UK, damm your missing out
Last edited by gazj (2010-03-16 19:42:06)
Offline
What about ripper the radio show. See this. Both programs are in extra repo.
Offline
Can't believe you can't get kiss outside the UK, damm your missing out
I'll spoof it when i get home if you haven't figured it out yet... if you figure it out before i do maybe you should send it to me so i can see what i'm missing
Offline
Offline
Ok, a new aproach.
mplayer -dumpaudio -dumpfile hype.mp3 http://tx-kiss.bauerdev.com/kiss
This will dump kiss's live stream to the mp3 file specified. I can easily set this up when the show starts using cron. Any ideas how I can make mplayer stop this an hour later. The most simple way I know would be to use killall mplayer as a cron one hour later but this seems well unelegant.
Any ideas?
Last edited by gazj (2010-03-17 19:35:48)
Offline
man at
. Maybe works.
Last edited by n0dix (2010-03-17 19:40:42)
Offline
curl is your friend!
Cheers mate, got it. Now to just put it in cron
#!/bin/bash
outfile=/mnt/docs/shared/Music/Radio/Hype/Hype-`date +%y-%W`.mp3
length=3900
stream=http://tx-kiss.bauerdev.com/kiss
curl -sS -o $outfile -m $length $stream
Offline