-1

I have m3u8 playlist that I maintain for multiple TV channels that broadcast online by their providers. I retrieve m3u8 file from the browser (dev tools in chrome then Network tab) then use the m3u8 URL in my playlist file so I can watch the TV channels without having to open the browser. This works just fine for most of the channels. However, For one channel provider I found out that m3u8 link frequently changes and hence the channel in my playlist becomes unreachable. I have to go again and extract m3u8 link from the browser and include it in my playlist again. This is a tedious manual process.

I am looking for a way or a short script that where I can provide blob URL (which is exist in the browser and I can get it) and let it give me the ultimate m3u8 URL (which |I can then replace in my playlist).

This must be a simple task to do, in my opinion. I expect it actually to be a single command. However, my shallow programming experience and ignorance about how overall process of streaming from browser takes place is preventing me from accomplishing this simple task.

It is OK if this can be done by bash or python.

  • couldn't find a documentation online about how to do so. Most topics talk about downloading the video. But none that I found - despite my extensive research - shows how to find out m3u8 URL from blobl URL.
  • couldn't find a similar post in stackoverflow that achieves what I want to do. Similar topics are exist but they don't exactly do what I am trying to achieve here.

sample URL I want: https://www.aloula.sa/dd12658d-47d9-4f93-a790-ab62a38e9a94 (I got this from html page. chrome gives me m3u8 file. However, I am looking for a way to find it via the shell or a script)

  • I found a good tool that can help extracting the m3u8 URL from original web page: https://streamlink.github.io/. This is very good so far but it doesn't work on some websites due to some restrictions or new plugins. I couldn't find a way - so far - though, from getting m3u8 from blob URL. – Amjad Abdullah Aug 31 '23 at 15:31

0 Answers0