Thread: i24NEWS Live
View Single Post
  #10  
Old 01-28-2019, 11:30 AM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: i24NEWS Live


Hi,

you can still use the same URL as before.In this new case it will return a mixed string and no direct URL anymore.The new string you get back constists three strings.First one and second string parts are encoded in Base64.So you just need to decode the middle string to get whole URL to the stream to see in JSON format.Just search the "." in the whole string = end marker and spilt them.
Example:
Code:
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
eyJ1cmwiOiJodHRwczpcL1wvZWRnZS0wMi5wbGF5b...YSJ9.
-q9Slt3u3BDBim_tFxoz3S-ee73HjxruLbfp0cCVbG4
Now deocde first 2 strings with Base64 and you get this...
Code:
{"typ":"JWT","alg":"HS256"}
Code:
{"url":"https:\/\/edge-02.playmedia-cdn.net\/origin02\/amlst:i24-eng\/playlist.m3u8?dar=ws&t=18ddf1b11ff0fbb276......."}
Now format the raw JSON (to remove \) and use it.Just try to use your AutoIt stuff etc you know.Send some feedback whether it works for you.

greetz
Reply With Quote