{"id":352,"date":"2024-11-28T14:55:39","date_gmt":"2024-11-28T14:55:39","guid":{"rendered":"https:\/\/hobbies.wielenga.co.uk\/?p=352"},"modified":"2025-02-24T19:21:23","modified_gmt":"2025-02-24T19:21:23","slug":"how-to-extract-a-streaming-url-if-hidden-or-embedded-in-web-player","status":"publish","type":"post","link":"https:\/\/hobbies.wielenga.co.uk\/index.php\/2024\/11\/28\/how-to-extract-a-streaming-url-if-hidden-or-embedded-in-web-player\/","title":{"rendered":"How to extract a streaming URL if hidden or embedded in web player"},"content":{"rendered":"<p>Extracting an embedded direct media link for an internet radio station using Firefox&#8217;s Web Developer Tools involves inspecting the network activity and identifying the stream URL. Here&#8217;s how to do it:<\/p>\n<hr \/>\n<h3><strong>Steps:<\/strong><\/h3>\n<ol>\n<li><strong>Open Firefox Web Developer Tools:<\/strong>\n<ul>\n<li>Press <code>Ctrl+Shift+I<\/code> (Windows\/Linux) or <code>Cmd+Opt+I<\/code> (Mac) to open the Web Developer Tools.<\/li>\n<li>Alternatively, you can access it through the menu: <strong>Menu \u2192 More Tools \u2192 Web Developer Tools<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Navigate to the Network Tab:<\/strong>\n<ul>\n<li>Click on the <strong>&#8220;Network&#8221;<\/strong> tab in the developer tools. This will monitor all the network requests made by the webpage.<\/li>\n<li>If needed, clear any existing log by clicking the trash bin icon.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Visit the Internet Radio Page:<\/strong>\n<ul>\n<li>Go to the page where the radio stream is embedded. Ensure the page is fully loaded.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Start Playing the Stream:<\/strong>\n<ul>\n<li>Click on the play button or start the stream on the website. This will trigger a network request for the media file.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Filter Network Requests:<\/strong>\n<ul>\n<li>Use the filter bar in the Network tab to narrow down requests. Common filters include:\n<ul>\n<li><strong>Media<\/strong>: Filter specifically for audio or video files.<\/li>\n<li><strong>M3U<\/strong>, <strong>MP3<\/strong>, <strong>AAC<\/strong>, or <strong>PLS<\/strong>: These are common formats for internet radio streams. You can type these extensions in the search bar to filter results.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>Locate the Stream URL:<\/strong>\n<ul>\n<li>Look for a request with a file extension like <code>.mp3<\/code>, <code>.aac<\/code>, <code>.pls<\/code>, <code>.m3u<\/code>, or <code>.ogg<\/code>.<\/li>\n<li>You might also find a link to a playlist file that contains the actual stream URL.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Inspect the Request Details:<\/strong>\n<ul>\n<li>Right-click the request and select <strong>&#8220;Open in New Tab&#8221;<\/strong> or <strong>&#8220;Copy URL&#8221;<\/strong> to verify if it points to the actual audio stream.<\/li>\n<li>Some streams may require additional headers or tokens. Check the <strong>Headers<\/strong> section of the network request to identify any required parameters.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Test the Stream URL:<\/strong>\n<ul>\n<li>Paste the extracted URL into a media player like VLC or your internet radio device to test if it works.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<hr \/>\n<h3><strong>Tips:<\/strong><\/h3>\n<ul>\n<li>If the stream URL isn&#8217;t obvious, inspect JavaScript files or look for embedded players. Use the <strong>Sources<\/strong> or <strong>Elements<\/strong> tabs for clues.<\/li>\n<li>Sometimes streams are dynamically loaded via JavaScript. Use the <strong>XHR<\/strong> filter in the Network tab to catch API calls that might reveal the URL.<\/li>\n<li>If the media is protected or obfuscated, you might need to check for <strong>HLS (HTTP Live Streaming)<\/strong> playlists, which are <code>.m3u8<\/code> files.<\/li>\n<\/ul>\n<p>Let me know if you encounter issues with specific steps!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Extracting an embedded direct media link for an internet radio station using Firefox&#8217;s Web Developer Tools involves inspecting the network activity and identifying the stream URL. Here&#8217;s how to do it: Steps: Open Firefox Web Developer Tools: Press Ctrl+Shift+I (Windows\/Linux) or Cmd+Opt+I (Mac) to open the Web Developer Tools. Alternatively, you can access it through&hellip; <br \/> <a class=\"button small blue\" href=\"https:\/\/hobbies.wielenga.co.uk\/index.php\/2024\/11\/28\/how-to-extract-a-streaming-url-if-hidden-or-embedded-in-web-player\/\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":353,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-352","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-streaming-radio"],"_links":{"self":[{"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":1,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":354,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/352\/revisions\/354"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/media\/353"}],"wp:attachment":[{"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}