PDA

View Full Version : Grab mp3 stream for bash script



flyingsliverfin
November 27th, 2010, 05:58 AM
Normally its possible to find an mp3 stream on a website (like an online radio) by looking at page source and searching through for a .mp3 (if they dont display it nicely). Then i can plug that url into a bash command like vlc www.theMP3stream.mp3

The trouble occurs when the site's player is popped up in a javascript. How do i get then? An example of a site like this is the one we used to listen to when we still lived in Germany: www.rsh.de (the radio is up top in the black, right below the ad; should say "livestream")
the direct url of the livestream is http://edge.download.newmedia.nacamar.net/freestream/download/rsh/frameset_ie_wmt.html

I've been trying to figure it out for some time :???: