[FFmpeg-user] How to extract m3u8 stream URL from webpage with 2 players?

Bo Berglund bo.berglund at gmail.com
Sat Jan 8 11:25:48 EET 2022


On Fri, 07 Jan 2022 14:05:02 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:

>If I open the source page and use the F12 function key to activate browser debug
>mode I can see the stream URL for both players.
>Right now they are:
>#1 = https://hlss.goodgame.ru/hls/188429.m3u8
>#2 = https://1111296894.rsc.cdn77.org/LS-ATL-54548-10/tracks-v1a1/mono.m3u8
>
>What I would like to have is a way to extract the xxx/mono.m3u8 URL #2
>automatically in a script.
>
>The URL:s seem to change irregularly so I will use any method found to extract
>the URL minutes before the download starts by launching the extractor script via
>cron.

It turns out that shortly after I posted my question the second player stopped
working altogether on the webpage, so there is nothing to test anymore...
:(


-- 
Bo Berglund
Developer in Sweden



More information about the ffmpeg-user mailing list