Jump to content

Extracting the M3U stream from an Embedded Player


codechurn

Recommended Posts

codechurn

I have a couple of Polish TV streams I'd like to add to my "Live TV" list, however the way they are surfaced is via an embedded player. It looks like the web link sets up some server side session magic with a dynamically generated "session" field. For example, when I go to https://polonia.tvp.pl/sess/TVPlayer2/embed.php?ID=34414171, if I watch the traffic I can see that it gets a m3u8 uri, which I can pump into VLC and watch just fine:

https://rsdt-krk201-5.tvp.pl/token/video/live/34414171/20211205/1268250694/e762729e-0bda-4755-956d-af655a3c6935/master.m3u8

The host name can vary as can the 'e762729e-0bda-4755-956d-af655a3c6935' component, which I am thinking is some sort of session token.

Does anyone have any thoughts on how I can integrate this into my LiveTV?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...