firefox - How can I get the URL of the bare audio stream played by a browser?

07
2014-07
  • Adrian Ratnapala

    I have some internet radio stations which I can listen to inside a browser; but to play them in media players like VLC I need the URL of the actual audio stream. How can I get my browser (chrome or firefox) to tell me what that URL is?

    I can't find the URL because it is not encoded on the webpage, but rather calculated by external javascript. I suppose I could snarf down that java script, and try to decypher it, but that sounds very painful, when my browser knows the answer all along.

  • Answers
  • Ignacio Vazquez-Abrams

    Use something like Firebug to monitor the connections the browser makes, and capture the URL there.

  • Paul

    You can use Wireshark to capture traffic on your network card, and filter for any requests to URLs.

    Use the following in the filter bar:

    http.request
    

    This will show only HTTP requests, one of which will be the stream being accessed.

    It is possible that some streams will use the RTMP protocol for the stream, so you may want to look for this using the following filter:

    rtmpt
    

  • Related Question

    Cannot play streaming MP3 on windows media player
  • Peter

    This url (or any streaming mp3) cannot be played by my windows media player :

    http://mp3.streampower.be/radio1-mid.mp3
    

    It can be played however in for instance VLC.

    The problem is that I want to listen to some streams on a website with in flash embedded windows media player, where the URL is not visible. Since I cannot choose the player, I have no access to to the stream..


  • Related Answers
  • harrymc

    This url works pretty well on my windows media player.

    It might be a codec problem.
    VLC won't encounter these problems since it uses its own codecs (not those of WMP).

    I suggest that you uninstall all codecs on your computer, then install K-Lite Codec Pack.

    If you want to verify which codecs are still installed, use InstalledCodec.

  • c_chekay

    Well one problem is that WMP doesnt listen to .mp3 files for 'streams' open a direct mp3 file will only work on websites that the file is actually stored on, during mp3 streams there is no file saved it is a direct data stream not a file download. I myself have been looking for some way to link a stream for automatic click listen for WMP but since most people stream in shoutcast that is winamp and .pls files which WMP cant not open (they use the m3u format) WMP supports inside the program Open URL which then jsut the address:port# will then play properly but Im still trying to figure how to make a link myself even for it.