[FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?
Bo Berglund
bo.berglund at gmail.com
Thu Apr 7 19:48:06 EEST 2022
I have found an on-line site where they offer viewiong in real time of various
news channels. However, I need to record the streaming video nightly so I can
view USA nightly shows the following morning.
I have started similar threads like this specificly targeting MSNBC news shows
and I have that running.
But now I want to get hold of the m3u8 URL on this site, which plays NBC news:
http://www.freeintertv.com/view/id-2308
I have used Firefox to view the video on this page and then hit F12 yo get to a
"debug" pane where there is continuouly scrolling data.
Among the lines there I sometimes see one ending in .m3u8 so I try to click it
and then right click and "CopyURL".
This gets me an URL that is pretty long as shown below.
Right now this works as the m3u8 for this site, but I am wondering if there is
another way to get at it like some automated script or such that can grab it
when given the base URL above?
That would be a boon for refreshing once it expoires.
https://nbcnews3.akamaized.net/hls/live/723429/NBCNewsNowa418c506/clear/hdntl=exp=1649435817~acl=%2f*~data=hdntl~hmac=628b37cd482b655a51c380d7123f1866ff121a018fcf474c7c0146f4d6e8541b/VIDEO_1_4596000.m3u8
Or is there only the browser + F12 use that ia available?
Another example page on the same site going through the same procedure:
http://www.freeintertv.com/view/id-2565
F12 and copy m3u8 URL gives this much shorter:
http://1128480543.rsc.cdn77.org/xH5m9E_1__Wx0W2CAsAMEw==,1649352901/1128480543/tracks-v1a1/mono.m3u8
--
Bo Berglund
Developer in Sweden
More information about the ffmpeg-user
mailing list