Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

i24NEWS Live

(http://stream-recorder.com/forum/showthread.php?t=23954)

j_cool 06-17-2018 01:43 PM

i24NEWS Live


 
https://en.wikipedia.org/wiki/I24NEWS

They are not much arround on the internet.

http://uk.play.tv/live-tv/1110/i24-news-uk/

This is m3u8 url from http shiffer:

"https://edge-01.playmedia-cdn.net/origin02/amlst:i24-eng/playlist.m3u8?dar=ws&t=18ddf1b11ff0fbb27659a265b39 d112682c0d61962b62eacd7f69f98b392579cedb609bb3033b 737c4d6cc309dbbbb0e4ccc969004171b8764b6915f5c6229f 39bb0faf84e5e19c781546086987227be8fb5651d121608b7d a4940ededc50c74513ae3673049acfd9b33bbe246e3ab75721 8e96d0263ebb7e5a784349608c55c0f05e3434b243351"

It is similar to what was before on dailymotion:

https://www.dailymotion.com/i24news-en

Problem with that m3u8 url is that it doesn't last long, it is changing after a few minutes.

Any idea how to get this m3u8 url with CURL or some other means without opening the browser ?

troller12 06-18-2018 04:12 AM

Re: i24NEWS Live


 
Hi j_cool,

Code:

http://uk.play.tv/player/play/i24-news-uk/?format=hls&language=en
if you call this address then you get json content with entire streamlink you can use.Just need to read it right (format) (see it FF).Not sure about the command you can use with CURL now.Just check that out or maybe you can use anything else to read the content etc.

greetz

j_cool 06-18-2018 12:16 PM

Re: i24NEWS Live


 
Troller,

you put Streamlink to shame.

They have a plugin for play.tv and it doesn't work more often than it does work.

[cli][info] Found matching plugin play for URL http://uk.play.tv/player/play/i24-news-uk/
[plugin.play][error] invalid username
error: No playable streams found on this URL: http://uk.play.tv/player/play/i24-news-uk/
Press any key to continue . . .

Here is what I make out of "http://uk.play.tv/player/play/i24-news-uk/?format=hls&language=en"

i24.au3

Code:

#include <AutoItConstants.au3>
$s = "http://uk.play.tv/player/play/i24-news-uk/?format=hls^&language=en"
Local $iPID = Run('cmd.exe /c curl.exe ' & $s,'',@SW_HIDE,$STDOUT_CHILD)
ProcessWaitClose($iPID)
Local $s = StdoutRead($iPID)
$s = StringReplace($s,'\/','/')
$s = StringReplace($s,'{"url":"','')
$s = StringReplace($s,'"}','')
$s = StringReplace($s,'\u0026','&')
$header = '--http-header-fields="Accept-Encoding: gzip, deflate","Accept-Language: en-GB,en;q=0.5","Connection: keep-alive","Origin: http://uk.play.tv","Referer: http://uk.play.tv/live-tv/1110/i24-news-uk/","User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0"'
$s = $header & ' "' & $s & '"'
ShellExecute('mpv.exe',$s,'','','')

Replace mpv.exe with another player if you want and specify full path if it is not in %PATH%.
curl should also be on %PATH%, if it is not specify path in script.

Code:

#include <AutoItConstants.au3>
$s = "http://uk.play.tv/player/play/i24-news-uk/?format=hls^&language=en"
Local $iPID = Run('cmd.exe /c curl.exe ' & $s,'',@SW_HIDE,$STDOUT_CHILD)
ProcessWaitClose($iPID)
Local $s = StdoutRead($iPID)
$s = StringReplace($s,'\/','/')
$s = StringReplace($s,'{"url":"','')
$s = StringReplace($s,'"}','')
$s = StringReplace($s,'\u0026','&')
$s = '"' & $s & '"'
ShellExecute('C:\path\YOURPLAYER.exe',$s,'','','')

Save this code as txt file and name it i24.au3

Download autoit-v3.zip from https://www.autoitscript.com/site/autoit/downloads/ and extract it.



Open i24.au3 with scite.exe ( autoit editor and compiler ) and compile i24.au3 to get i24.exe by pressing Ctrl+F7
or choosing compile from tools menu.



Double click on i24.exe and here is screenshot of player working.


j_cool 06-21-2018 06:01 PM

Re: i24NEWS Live


 
Troller,

How can I work out what parameters come after url to get json output, like: ?format=hls&language=en

I tried to replicate your trick on "http://play.tv/live-tv/908/i24-news-english/?format=hls&language=en" and result:

message : "Une erreur est survenue. Veuillez réessayer un peu plus tard."

That url plays the same stream as "http://uk.play.tv/player/play/i24-news-uk/" and params ?format=hls&language=en don't work.



Html source:

Code:

App.Data = {"playerParameters":{
"initialize":"http:\/\/play.tv\/player\/initialize\/i24-news-english\/",
"play":"http:\/\/play.tv\/player\/play\/i24-news-english\/","lang":"en",
"autoPlay":true,"assets":{"player":"http:\/\/play.tv\/assets\/swf\/player.swf",
"clipboard":"http:\/\/play.tv\/assets\/swf\/zeroclipboard.swf"},
"tracking":{"label":"i24 News English"}
,"features":{"progress":{"enabled":false,"options":{"url":"http:\/\/play.tv\/player\/broadcast\/i24-news-english\/","preload":{"progress":"","startAt":"","endAt":"","program":{"title":"","genre":"","subgenre":""}}}},"requireCheck":{"enabled":false,"options":{"url":"http:\/\/play.tv\/player\/check\/"}},"channelLogo":{"enabled":false},"whiteLabel":{"enabled":false},"volume":{"enabled":true},"bitrate":{"enabled":true},"popup":{"enabled":true,"options":{"url":"http:\/\/play.tv\/live-tv\/908\/i24-news-english\/?popup=1"}},"switchHd":{"enabled":false},"sales":{"enabled":false,"options":{"url":"http:\/\/play.tv\/nos-offres\/","first":{"url":"http:\/\/play.tv\/nos-offres\/pack-premium\/","alias":"pack-premium"},"second":{"url":"http:\/\/play.tv\/nos-offres\/pack-informations\/","alias":"pack-informations"}}},"export":{"enabled":true,"options":{"embedCode":"<iframe width=\"610\" height=\"384\" src=\"http:\/\/play.tv\/player\/embed\/i24-news-english\/\" allowfullscreen=\"true\" webkitallowfullscreen=\"true\" mozallowfullscreen=\"true\"><\/iframe>","linkTo":"http:\/\/play.tv\/live-tv\/908\/i24-news-english\/"}},"facebook":{"enabled":true,"options":{"url":"http:\/\/play.tv\/player\/share\/i24-news-english\/"}},"twitter":{"enabled":true,"options":{"url":"http:\/\/play.tv\/player\/share\/i24-news-english\/"}}}},"uniroll":{"flashUrl":"http:\/\/play.tv\/uniroll\/assets\/swf\/uniroll-0.16.4.swf","requestUrl":"http:\/\/play.tv\/uniroll\/request\/","version":"0.16.4","zoneUid":"prerollliveplaytvuk","requestParams":{"tid":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1Mjk2MjA1NTgsImN1c3RvbUNvbnRlbnQiOiJ7XCJhY2NvdW50SWRcIjowLFwiY2hhbm5lbElkXCI6OTA4LFwiZG9tYWluXCI6XCJwbGF5LnR2XCIsXCJpc1NlY3VyZVwiOmZhbHNlLFwiaXNUZXN0XCI6ZmFsc2UsXCJ1c2VySXBcIjpcIjg2LjE4Mi41NC4xMDlcIixcInZlcnNpb25cIjpcIjAuMTYuNFwiLFwiem9uZVVpZFwiOlwicHJlcm9sbGxpdmVwbGF5dHZ1a1wiLFwiY29uZmlnXCI6ZmFsc2V9In0.mTE12HJ5IpwIcdLZXaYjb-NV1U9Vm4rwix41tmDUgR0EVqg4_M2T1ldwcIBEajoB7u5TOdAkYTVkhmEalfWOww"},"forceHtmlVideo":true},"streamLanguage":"fr","uniadsParameters":{"adblocker":"adb=1","lang":"en","channelId":908,"appZone":"play-tv-uk.preroll","features":{"rollAds":{"enabled":true},"skipAds":{"enabled":false,"options":{"url":"http:\/\/play.tv\/nos-offres\/pack-premium\/","alias":"pack-premium"}}}}}

Result from "initialize":

Code:

curl.exe -H "Referer: http://play.tv/live-tv/908/i24-news-english/" "http://play.tv/player/initialize/i24-news-english/"
{"hasHd":false,"id":908,"imageUrl":"https:\/\/static.playmedia-cdn.net\/img\/tv_channels\/908_medium.png",
"productsUrl":"\/nos-offres\/","products":[{"alias":"pack-premium","label":"-","price":0,
"url":"\/nos-offres\/pack-premium\/"},{"alias":"pack-informations","label":"-","price":0,
"url":"\/nos-offres\/pack-informations\/"},{"alias":"prepaid-1m","label":"Play TV Premium","price":0,
"url":"\/nos-offres\/prepaid-1m\/"},{"alias":"prepaid-6m","label":"Play TV Premium","price":0,
"url":"\/nos-offres\/prepaid-6m\/"},{"alias":"prepaid-unlimited","label":"Play TV Premium","price":0,
"url":"\/nos-offres\/prepaid-unlimited\/"}],
"streams":{"fr":{
"flash":{"bitrates":[{"label":"0.8 Mbps","value":800,"default":true},{"label":"0.3 Mbps","value":300}]},
"rtsp":{"bitrates":[{"label":"0.8 Mbps","value":800,"default":true},{"label":"0.3 Mbps","value":300}]},
"hds":{"bitrates":[{"label":"0.8 Mbps","value":800,"default":true},{"label":"0.3 Mbps","value":300}]},
"dash":{"bitrates":[{"label":"0.8 Mbps","value":800,"default":true},{"label":"0.3 Mbps","value":300}]},
"hls":{"bitrates":[{"label":"0.8 Mbps","value":800},{"label":"0.3 Mbps","value":300},{"label":"Auto","value":0,"default":true}]}}}}

Result from "play":

Code:

curl.exe -H "Referer: http://play.tv/live-tv/908/i24-news-english/" "http://play.tv/player/play/i24-news-english/?format=hls^&language=en"
{"message":"Une erreur est survenue. Veuillez r\u00e9essayer un peu plus tard."}


j_cool 06-22-2018 10:21 AM

Re: i24NEWS Live


 
Streamlink plays this url: "http://play.tv/live-tv/908/i24-news-english/"

[cli][info] Found matching plugin playtv for URL http://play.tv/live-tv/908/i24-news-english/
[cli][info] Available streams: 300k (worst), 800k (best)
[cli][info] Opening stream: 800k (hls)
[cli][info] Starting player: mpv.exe

This is how plugin starts:

class PlayTV(Plugin):
FORMATS_URL = 'http://playtv.fr/player/initialize/{0}/'
API_URL = 'http://playtv.fr/player/play/{0}/?format={1}&language={2}&bitrate={3}'

and I don't get json output in browser with these urls:

"http://playtv.fr/player/play/i24-news-english/?format=hls&language=en&bitrate=800"

"http://play.tv/player/play/i24-news-english/?format=hls&language=en&bitrate=800"

message "Une erreur est survenue. Veuillez réessayer un peu plus tard."

troller12 06-22-2018 12:00 PM

Re: i24NEWS Live


 
Hi j_cool,

in the pagesource of each channel of that site you can find a streamlanguage info.
Code:

http://play.tv/live-tv/908/i24-news-english/
"streamLanguage":"fr"

http://play.tv/live-tv/30/fashion-tv/
"streamLanguage":"en"

If you check that first then you know what language you can use to call it with language paramter for the json link.

If the language dosent work then you get 400 Bad Request as response back instead of 200 OK.

If I see it right then only fr & en language types are used.Just switch to other language (en or fr) if one of them did fail (400 Bad Request) and and request json link again.Just try it again.

greetz

j_cool 06-22-2018 04:21 PM

Re: i24NEWS Live


 
"http://play.tv/player/play/i24-news-english/?format=hls&language=fr"

"https://edge-01.playmedia-cdn.net/origin02/amlst:i24-eng/playlist.m3u8?dar=ws&t=18ddf1b11ff0fbb27659a265b39 d112682c0d61962b62eacd7f69f98b392579cedb609bb3033b 737a26dd88d3f316d99f7db3997e5e5902e7a8d3721f17be66 c5dc01f6cedf270698ed0781b9d8edad2aa39228847ba5b7da dce1071f41d32d8c17a0fed892bde49d79c66f2a797d044138 f1a559835d85b59457f1e11ba8cd0accee0e3b69a8d9b"

This works with language=fr even though broadcast language is english.

Sometimes common sense does not work.

Streamlink's plugin has got it right and I got it wrong.

After reading your post, I'll get it right as well.

Cheers.

j_cool 01-26-2019 02:15 PM

Re: i24NEWS Live


 
There is a change in how website works now.


Before, this url : "http://play.tv/player/play/i24-news-english/?format=hls&language=fr"

would return:

"https://edge-01.playmedia-cdn.net/origin02/amlst:i24-eng/playlist.m3u8?dar=ws&t=18ddf1b11ff0fbb27659a265b39 d112682c0d61962b62eacd7f69f98b392579cedb609bb3033b 737a26dd88d3f316d99f7db3997e5e5902e7a8d3721f17be66 c5dc01f6cedf270698ed0781b9d8edad2aa39228847ba5b7da dce1071f41d32d8c17a0fed892bde49d79c66f2a797d044138 f1a559835d85b59457f1e11ba8cd0accee0e3b69a8d9b"


now it returns token:

eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJod HRwczpcL1wvZWRnZS0wNy5wbGF5bWVkaWEtY2RuLm5ldFwvb3J pZ2luMDJcL2FtbHN0OmkyNC1lbmdcL3BsYXlsaXN0Lm0zdTg_Z GFyPXdzJnQ9MThkZGYxYjExZmYwZmJiMjc2NTlhMjY1YjM5ZDE xMjY1MmJjZDcyMWE2MDAxM2RiYTYwMmZmODY4ODRiNGM3MGI2Z WEwOWFiM2M1OGEwMDQ4OWJiODU2ODM5YWM4MGYyNTJiYTM3NWI 0NjdiOWJkNjA2ZTY0Yzk3YTE5ZjZlNTNkMDM3MDQ5NGRmOTI3N zA5OGI0ZTczNGE1NWRhZjBkZjMxM2IyMGJhYWY3OWQ5ZDMyMmV kZjc2NjFkYWJkNThlZmQyMmRhNGExM2Q3MGQxMTUzNDhiMDI0N mU4ZDk3ZDNhZjU1NjRiYTk1YmU5ODIzOTZmNzZlOGU4MGQwYTE zNTRkNTgwNzMyZDdhM2U5NmJmM2U4NWM0YTBkNmY3YjVlNTQyZ TE1YjY1N2ZmYjkyNDY4ZmFkNjFkOGY4MmE2ODkzNGNjMGIyNDV kZWUwZDI1ZTM5YWExNGQ3YTkzNzBhMiJ9.01GGNxuxMTGnojj3 OMxXsr1G29RnFxAAoTqjire4xd0



I can get playlist.m3u8 and chunklist with http sniffer:

"https://edge-04.playmedia-cdn.net/origin02/amlst:i24-eng/playlist.m3u8?dar=ws&t=18ddf1b11ff0fbb27659a265b39 d1126ffdd3cce03753c70f0e586f6fcbb26e0e129430af2a4c bb3fafb828154207864cd43e35d6b2b78941c49bbb2a19663f e0d456519fec444f8a157e88243ec470ae1bc7e5d082592638 458b613629bdf862c3868d5f170977ca0039e7399318be0279 87877700458a4046e6d7260e89d9e60ae6fc7b114066d441f1 a7ac98f621348e941674896794dc4ca00257f5a0f0fbe5158e c001dc66c0f53071868d26c7a"

"https://edge-04.playmedia-cdn.net/origin02/amlst:i24-eng/chunklist_w890278171_b800000.m3u8?dar=ws&t=18ddf1b 11ff0fbb27659a265b39d1126ffdd3cce03753c70f0e586f6f cbb26e0e129430af2a4cbb3fafb828154207864cd43e35d6b2 b78941c49bbb2a19663fe0d456519fec444f8a157e88243ec4 70ae1bc7e5d082592638458b613629bdf862c3868d5f170977 ca0039e7399318be027987877700458a4046e6d7260e89d9e6 0ae6fc7b114066d441f1a7ac98f621348e941674896794dc4c a00257f5a0f0fbe5158ec001dc66c0f53071868d26c7a"


playlist doesn't play with MPV.

chunklist does play with MPV and chunklist is good for few minutes only. Stream plays for longer time once it is started.

Why playlist does not play in MPV and chunklist plays?

and how to get playlist now after changes in how website works?

j_cool 01-27-2019 01:29 AM

Re: i24NEWS Live


 
Maybe something can be put together from these parameters:

http://play.tv/live-tv/908/i24-news-english/?popup=1

Code:

      App.Data = App.Data || {}
      App.Data = {
    "playerParameters": {
        "initialize": "http://play.tv/player/initialize/i24-news-english/",
        "play": "http://play.tv/player/play/i24-news-english/",
        "lang": "en",
        "autoPlay": true,
        "assets": {
            "player": "http://play.tv/assets/swf/player.swf",
            "clipboard": "http://play.tv/assets/swf/zeroclipboard.swf"
        },
        "tracking": {
            "label": "i24 News English"
        },
        "features": {
            "progress": {
                "enabled": false,
                "options": {
                    "url": "http://play.tv/player/broadcast/i24-news-english/",
                    "preload": {
                        "progress": "",
                        "startAt": "",
                        "endAt": "",
                        "program": {
                            "title": "",
                            "genre": "",
                            "subgenre": ""
                        }
                    }
                }
            },
            "requireCheck": {
                "enabled": false,
                "options": {
                    "url": "http://play.tv/player/check/"
                }
            },
            "channelLogo": {
                "enabled": false
            },
            "whiteLabel": {
                "enabled": false
            },
            "volume": {
                "enabled": true
            },
            "bitrate": {
                "enabled": true
            },
            "popup": {
                "enabled": true,
                "options": {
                    "url": "http://play.tv/live-tv/908/i24-news-english/?popup=1"
                }
            },
            "switchHd": {
                "enabled": false
            },
            "sales": {
                "enabled": false,
                "options": {
                    "url": "http://play.tv/nos-offres/",
                    "first": {
                        "url": "http://play.tv/nos-offres/pack-premium/",
                        "alias": "pack-premium"
                    },
                    "second": {
                        "url": "http://play.tv/nos-offres/pack-informations/",
                        "alias": "pack-informations"
                    }
                }
            },
            "export": {
                "enabled": true,
                "options": {
                    "embedCode": "<iframe width=\"610\" height=\"384\" src=\"http://play.tv/player/embed/i24-news-english/\" allowfullscreen=\"true\" webkitallowfullscreen=\"true\" mozallowfullscreen=\"true\"></iframe>",
                    "linkTo": "http://play.tv/live-tv/908/i24-news-english/"
                }
            },
            "facebook": {
                "enabled": true,
                "options": {
                    "url": "http://play.tv/player/share/i24-news-english/"
                }
            },
            "twitter": {
                "enabled": true,
                "options": {
                    "url": "http://play.tv/player/share/i24-news-english/"
                }
            }
        }
    },
    "uniroll": {
        "flashUrl": "https://play.tv/uniroll/assets/swf/uniroll-0.16.4.swf",
        "requestUrl": "https://play.tv/uniroll/request/",
        "version": "0.16.4",
        "zoneUid": "prerollliveplaytvuk",
        "requestParams": {
            "tid": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1NDg1NzY2ODEsImN1c3RvbUNvbnRlbnQiOiJ7XCJhY2NvdW50SWRcIjowLFwiY2hhbm5lbElkXCI6OTA4LFwiZG9tYWluXCI6XCJwbGF5LnR2XCIsXCJpc1NlY3VyZVwiOnRydWUsXCJpc1Rlc3RcIjpmYWxzZSxcInVzZXJJcFwiOlwiODYuMTgyLjU0LjIxMVwiLFwidmVyc2lvblwiOlwiMC4xNi40XCIsXCJ6b25lVWlkXCI6XCJwcmVyb2xsbGl2ZXBsYXl0dnVrXCIsXCJjb25maWdcIjpmYWxzZX0ifQ.KxeSB9JCSANQP8DE4zP9KrDWkjcF7GK_efK_4hFZh3DVBaSxHFlBxuRKe4jUbLEpDBI27XPOiwMaW-5NUS7w5A"
        },
        "forceHtmlVideo": true
    },
    "streamLanguage": "fr",
    "uniadsParameters": {
        "adblocker": "adb=1",
        "lang": "en",
        "channelId": 908,
        "appZone": "play-tv-uk.preroll",
        "features": {
            "rollAds": {
                "enabled": true
            },
            "skipAds": {
                "enabled": false,
                "options": {
                    "url": "http://play.tv/nos-offres/pack-premium/",
                    "alias": "pack-premium"
                }
            }
        }
    }
}


troller12 01-28-2019 11:30 AM

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

j_cool 01-28-2019 12:05 PM

Re: i24NEWS Live


 
Here are my first findings:

They have different "tid" across their site. They return different parameters.

I tried : http://uk.play.tv/player/play/i24-ne...ls&language=en with curl :

Code:

*  Trying 89.202.139.130...
* TCP_NODELAY set
* Connected to uk.play.tv (89.202.139.130) port 80 (#0)
> GET /player/play/i24-news-uk/?format=hls&language=en HTTP/1.1
> Host: uk.play.tv
> Accept: */*
> User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:64.0) Gecko/20100101 Firefox/64.0
>
< HTTP/1.1 200 OK
< Server: nginx
< Date: Mon, 28 Jan 2019 18:51:27 GMT
< Content-Type: application/octet-stream
< Transfer-Encoding: chunked
< Connection: keep-alive
< Set-Cookie: __ptv_session=lb4n3kfvggrvdgbgnl7ch1ol15; path=/; domain=.play.tv; HttpOnly
< Cache-Control: no-cache, private
< X-PTV-Node: 19
< Content-Language: en_GB
< X-Robots-Tag: noindex
< X-Request-Id: 1443f08e-e7be-4f8b-94ff-0759abf5089f
<
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczpcL1wvZWRnZS0wMi5wbGF5bWVkaWEtY2RuLm5ldFwvb3JpZ2luMDJcL2FtbHN0OmkyNC1lbmdcL3BsYXlsaXN0Lm0zdTg_ZGFyPXdzJnQ9MThkZGYxYjExZmYwZmJiMjc2NTlhMjY1YjM5ZDExMjYzYTk2ZjUxZDg5MDg1Y2E1NjAyYmJlMWIyY2I3ZjJhZGNmZDZiMDk4MDk0N2Y3YTY4NDE1MDk2YmI3Yjg3MjhmY2U3ZjE0OGIzMGY5YWJlMTcwMDdjMDg2OGNhN2RhNGJkZWNlMWVlYzM5MTc3YTJjOWQ1M2VhNWM1OTY1YTA1NzNmMzkzOWE4MzMwNjhiZmVjODUxZWZjNTdjYzFlMDQ0NmZiNmEyNjMzOGU4ZWZjNWM5NzI3YTc1Nzg1NDlhNTYwNTE4MzgzZjZlYTA3MTk3NGRhNTRmZjBiMGQ4MzM3YTczYzg5MTljYzQyNTg0YzdlMzAwZTcxN2Q4YThiN2QwMDlkZTUwMGQ5ZGI2YTgwYjYwNTgyNjRlZjUxNDExMzA1NGNjZjg1Y2EyZjA5OGZmYjBhNjQ1NjA0NDdmMjEwYSJ9.Il5tHSB8CYsYl1sQF62tng7kZ3N2m32CRicYPkLmK3E* Connection #0 to host uk.play.tv left intact
Press any key to continue . . .

Then decoded that "tid" with https://www.base64decode.org/ :



To automate this I'll need command line tool to "base64decode".
Maybe "base64decode" isn't the best tool, you see some part of decoded url in machine code.

Very good starting point. So long for today.

troller12 01-29-2019 04:12 AM

Re: i24NEWS Live


 
Hi again,

I have test it now on fly (with my tools) and it works to play / record the streams.Only thing you have to check is the base64 middle string for one wrong sign "_" like this...
Code:

dTg_ZGFy
...so thats also the reason why the Base64 decode site does show you strange content from that point.In this example you have to change the _ sign to / then you get the whole string readable correctly.Just check this before you decode the base64 string with any tool xy you wanna use or do it after and fix the playlist string.In this case the strange sign is set after m3u8...like this...
Code:

.m3u8?dar=
.m3u8?dar=

Just keep this in your mind.If you dont then the playlist link with not work and you get error 504 Gateway Timeout (just as small info).

greetz

j_cool 01-29-2019 03:42 PM

Re: i24NEWS Live


 
By changing: "_" to: "/" I get it right:

eyJ1cmwiOiJodHRwczpcL1wvZWRnZS0wMi5wbGF5bWVkaWEtY2 RuLm5ldFwvb3JpZ2luMDJcL2FtbHN0OmkyNC1lbmdcL3BsYXls aXN0Lm0zdTg_ZGFyPXdzJnQ9MThkZGYxYjExZmYwZmJiMjc2NT lhMjY1YjM5ZDExMjYzYTk2ZjUxZDg5MDg1Y2E1NjAyYmJlMWIy Y2I3ZjJhZGNmZDZiMDk4MDk0N2Y3YTY4NDE1MDk2YmI3Yjg3Mj hmOGM0MGFiNDk2OGJjYmM3NDViYjYwOTg5ZjAxZTkzNTRhNWNk Yjc3NmU2N2U2OGUxZTM1NGU3OTYzYWI2YzI4NzYyODU1YjJjOT hhMDY5Yzk0MzJlMWYxMjY1MTU1NDdjZmY5YzE0Yjc3MDBlNDZm YTFiOTM0ZmQ4YTdiOGEwNWExZjE2Zjc1ZDYxMTJjMDRlMWQzYT JhNjE3MjVhZDVhOTdjMjUwOGY0MGVlMDk0ZjdiZmQ0OWQ2MTM4 MjNmYjczNGFkNjFhMmE0OWVkNDAyOTM2YjkyYThlNjlhOWIwYT AzYTNjOWQ4NjJlYWZhZmEzM2NmOWY1OWEyODgwNDVkYSJ9

eyJ1cmwiOiJodHRwczpcL1wvZWRnZS0wMi5wbGF5bWVkaWEtY2 RuLm5ldFwvb3JpZ2luMDJcL2FtbHN0OmkyNC1lbmdcL3BsYXls aXN0Lm0zdTg/ZGFyPXdzJnQ9MThkZGYxYjExZmYwZmJiMjc2NTlhMjY1YjM5ZD ExMjYzYTk2ZjUxZDg5MDg1Y2E1NjAyYmJlMWIyY2I3ZjJhZGNm ZDZiMDk4MDk0N2Y3YTY4NDE1MDk2YmI3Yjg3MjhmOGM0MGFiND k2OGJjYmM3NDViYjYwOTg5ZjAxZTkzNTRhNWNkYjc3NmU2N2U2 OGUxZTM1NGU3OTYzYWI2YzI4NzYyODU1YjJjOThhMDY5Yzk0Mz JlMWYxMjY1MTU1NDdjZmY5YzE0Yjc3MDBlNDZmYTFiOTM0ZmQ4 YTdiOGEwNWExZjE2Zjc1ZDYxMTJjMDRlMWQzYTJhNjE3MjVhZD VhOTdjMjUwOGY0MGVlMDk0ZjdiZmQ0OWQ2MTM4MjNmYjczNGFk NjFhMmE0OWVkNDAyOTM2YjkyYThlNjlhOWIwYTAzYTNjOWQ4Nj JlYWZhZmEzM2NmOWY1OWEyODgwNDVkYSJ9

{"url":"https:\/\/edge-02.playmedia-cdn.net\/origin02\/amlst:i24-eng\/playlist.m3u8?dar=ws&t=18ddf1b11ff0fbb27659a265b39 d11263a96f51d89085ca5602bbe1b2cb7f2adcfd6b0980947f 7a68415096bb7b8728f8c40ab4968bcbc745bb60989f01e935 4a5cdb776e67e68e1e354e7963ab6c28762855b2c98a069c94 32e1f126515547cff9c14b7700e46fa1b934fd8a7b8a05a1f1 6f75d6112c04e1d3a2a61725ad5a97c2508f40ee094f7bfd49 d613823fb734ad61a2a49ed402936b92a8e69a9b0a03a3c9d8 62eafafa33cf9f59a288045da"}

This url doesn't play after I try it maybe because it must be used in matter of seconds.

To test that I need to script all procedure and for the start I found one decoder that works how I need it to work
but only on short string like "johnny cool", not on long string like m3u8 url.
So I still look for right decoder which should decode string ideally on command line.
Here is example of:

https://base64-encoderdecoder.windows10compatible.com/


Base64 by ProXoft L.L.C (http://www.proxoft.com)

Valid command line syntax:
To Encode:
Base64[.exe] /e[ncode] sourceFile [destinationFile]
To Decode:
Base64[.exe] /d[ecode] sourceFile [destinationFile]
For Help:
Base64[.exe] /h

Note:
if optional parameter [destinationFile] is omitted, program's output will be redirected to the console window.


Here is how it works:

C:\>base64.exe /e 1.txt
am9obm55IGNvb2w=

C:\>base64.exe /e 1.txt 2.txt
File '1.txt' was successfully Byte64 encoded and saved to '2.txt'

C:\>base64.exe /d 2.txt
johnny cool
C:\>

AAA 01-30-2019 03:21 AM

Re: i24NEWS Live


 
The media player opens the following URL:

https://edge-04.playmedia-cdn.net/or...257f8b8654d8f7

j_cool 01-30-2019 10:05 AM

Re: i24NEWS Live


 
Yes it does for some period of time.
I mentioned that in one previous post here.
Chunklist will play and playlist will not play.
The problem is how do you get chunklist without opening the browser?
I get it only after stream started playing in the browser.
I don't want to use the browser and want to watch the stream in player
without browser at all.

You are welcome with any new ideas and suggestions, if you know of any command line base64 decoder post the link here, I'm currently looking for one.

That decoder I wrote about can be used if I split big encoded m3u8 in smaller pieces and loop to put decoded pieces together,
but why complicate if there is more capable decoder.

j_cool 02-02-2019 04:00 AM

Re: i24NEWS Live


 
I found one non-free decoder on the internet and renamed it to decoder.exe.
It works exactly as it should. As if developer read my mind when he wrote it.


C:\>decoder
Less commandline paremters found!
C:\>

C:\>decoder -d eyJ1cmwiOiJodHRwczpcL1wvZWRnZS0wNC5wbGF5bWVkaWEtY2 RuLm5ldFwvb3JpZ2luMDJcL2FtbHN0OmkyNC1lbmdcL3BsYXls aXN0Lm0zdTg/ZGFyPXdzJnQ9MThkZGYxYjExZmYwZmJiMjc2NTlhMjY1YjM5ZD ExMjZmZmRkM2NjZTAzNzUzYzcwZjBlNTg2ZjZmY2JiMjZlMGUx Mjk0MzBhZjJhNGNiYjNmZGZkYzVhY2JlNjc5YmVlOTZhN2Y3M2 FlNTk2YTE2NTRiYzk2MGVkZjg1YTI0OWI1YjI3NjE4YjJhM2Vm NjdjZmVjM2QyN2Q5MjU4ZGQwZTBjMTAzMmQzNzM1N2ZjMzEyMz c4NmQ0ZDgxYjJhZGNkOTFlM2JhMzg0MzUzNjlmY2QxZWI2N2Vm M2Y1NTIzYjAwMjkxOTYyY2Y5MmRkZGYxZTczY2ZhMWY5NjI4OW ZjZjE5OGVkYjQ1MjdjN2JiNmMwOGRmODZhOGUxMGY1OWE4OTM2 YTE4Yjg2N2QyNGE4MzRkYTlhODQ1NTI2ZDU3NTM5MDdmMTk0Zj ljZDA1ZjkxZGVmNGEzNDQ0MTIwODgyNyJ9
{"url":"https:\/\/edge-04.playmedia-cdn.net\/origin02\/amlst:i24-eng\/playlist.m3u8?dar=ws&t=18ddf1b11ff0fbb27659a265b39 d1126ffdd3cce03753c70f0e586f6fcbb26e0e129430af2a4c bb3fdfdc5acbe679bee96a7f73ae596a1654bc960edf85a249 b5b27618b2a3ef67cfec3d27d9258dd0e0c1032d37357fc312 3786d4d81b2adcd91e3ba38435369fcd1eb67ef3f5523b0029 1962cf92dddf1e73cfa1f96289fcf198edb4527c7bb6c08df8 6a8e10f59a8936a18b867d24a834da9a845526d5753907f194 f9cd05f91def4a34441208827"}
C:\>

j_cool 02-02-2019 05:20 AM

Re: i24NEWS Live


 
And here are the latest news from Holy Land in MPV:



Code:

#include <AutoItConstants.au3>
$hls = "http://uk.play.tv/player/play/i24-news-uk/?format=hls^&language=en"
$iPID = Run(@ComSpec & ' /c curl.exe ' & $hls,'',@SW_HIDE,$STDOUT_CHILD)
ProcessWaitClose($iPID)
Local $s = StdoutRead($iPID)
$s = StringTrimLeft($s,StringInStr($s,'.'))
$s = StringTrimRight($s,(StringLen($s)+1)-StringInStr($s,'.'))
$s = StringReplace($s,'_','/')
$iPID = Run('cmd.exe /c decoder.exe -d ' & $s,'','',$STDOUT_CHILD)
ProcessWaitClose($iPID)
$s = StdoutRead($iPID)
$s = StringReplace($s,'\/','/')
$s = StringReplace($s,'{"url":"','')
$s = StringReplace($s,'"}','')
$header = '--http-header-fields="Referer: http://uk.play.tv/live-tv/1110/i24-news-uk/","User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:64.0) Gecko/20100101 Firefox/64.0"'
$s = $header & ' "' & $s & '"'
ShellExecute('mpv.exe',$s)


j_cool 05-19-2020 06:05 PM

Re: i24NEWS Live


 
Is forum alive or dead ???

If alive, there are a lot of changes out there since the old days.

Here is the latest one that works.

HTML Code:

C:\>streamlink https://playtv.fr/television/i24-news-english/ best
[cli][info] Found matching plugin playtv for URL https://playtv.fr/television/i24-news-english/
[cli][info] Available streams: 300k (worst), 800k (best)
[cli][info] Opening stream: 800k (hls)
[cli][info] Starting player: C:\P\VLC\vlc.exe


Cheers.

j_cool 10-03-2020 07:41 AM

Re: i24NEWS Live


 
If somebody wants streamlink plugin for half arabic half english version of i24 broadcast
he may raise his voice on streamlink's link:

https://github.com/streamlink/streamlink/issues/3218

plugin might be seen on the horizon.


i24 link, free to watch in web browser:


https://www.i24news.tv/ar/%D9%85%D8%...A7%D8%B4%D8%B1

darkweblinks 10-04-2020 03:44 AM

Re: i24NEWS Live


 
dịch vá»? seo web Xem chi tiá??t. .

http://als.anits.edu.in/members/colbyborders/

j_cool 10-04-2020 06:59 AM

Re: i24NEWS Live


 
darkweblinks raised his voice on this forum 23 times and sadly we get 0 useful links.

wizard 10-05-2020 09:57 AM

Re: i24NEWS Live


 
Quote:

Originally Posted by j_cool (Post 97028)
darkweblinks raised his voice on this forum 23 times and sadly we get 0 useful links.

He is among load of other forum members I have put on ignore...

j_cool 10-05-2020 10:32 AM

Re: i24NEWS Live


 
Yeah,

read my comment in link.
Imagine if there was something genuinely illegal being posted, who would chase who ?
Spam is just another way of free speech so even if somebody keeps his eye on this forum doesn't care about it.

http://stream-recorder.com/forum/sho...31&postcount=5

darkweblinks 10-06-2020 12:43 AM

Re: i24NEWS Live


 
cac mau chieu rong da bay l??n cho anh em c??ng xem n?*o gi?? tốt địa chỉ chá?? t??c chiá??u rồng Ä‘??

http://laser.inf.ethz.ch/2015/index....r&id =1270177

j_cool 10-06-2020 01:47 AM

Re: i24NEWS Live


 
darkweblinks, here you click on this link

https://www.instagram.com/explore/ta...sexuals/?hl=en

j_cool 10-07-2020 12:46 AM

Re: i24NEWS Live


 
Now back to main topic.
I want to watch this stream in player without opening web browser.
Saving the stream will be the same as watching if anybody wants to save some of it.

It appears to be the same problem with source of this stream as it was with play.tv.
I get stream url with http sniffer and then it doesn't play with player and I have to figure out
why it doesn't play. Is it protected in a way unknown to me and no player can play it
or I have to be as quick as before with my script and get url with script in a player.
Before it worked with Troller's tip. Any related information is welcome.



Quote:

Originally Posted by troller12 (Post 96453)
Hi j_cool,

Code:

http://uk.play.tv/player/play/i24-news-uk/?format=hls&language=en
if you call this address then you get json content with entire streamlink you can use.Just need to read it right (format) (see it FF).Not sure about the command you can use with CURL now.Just check that out or maybe you can use anything else to read the content etc.

greetz



https://www.i24news.tv/ar/%D9%85%D8%...A7%D8%B4%D8%B1


Code:

https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602055800~exp=1602059400~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=2fdfe3e3a70099795b3d18c5d9f0c9fd932e8ceb0349d607e00a59de2f4024c1&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5

Code:


C:\>youtube-dl.exe --verbose --list-formats --no-check-certificate "https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602055800~exp=1602059400~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=2fdfe3e3a70099795b3d18c5d9f0c9fd932e8ceb0349d607e00a59de2f4024c1&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--list-formats', '--no-check-certificate', 'https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602055800~exp=1602059400~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=2fdfe3e3a70099795b3d18c5d9f0c9fd932e8ceb0349d607e00a59de2f4024c1&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg 4.3.1-2020-10-01-full_build-www.gyan.dev, ffprobe 4.3.1-2020-10-01-full_build-www.gyan.dev, rtmpdump 2.4
[debug] Proxy map: {}
[generic] *~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5: Requesting header
[generic] *~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5: Downloading m3u8 information
[info] Available formats for *~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5:
format code  extension  resolution note
452          mp4        320x180    452k , avc1.77.21, mp4a.40.2
657          mp4        480x270    657k , avc1.77.30, mp4a.40.2
1015        mp4        640x360    1015k , avc1.77.31, mp4a.40.2
1323        mp4        854x480    1323k , avc1.77.32, mp4a.40.2
2083        mp4        960x540    2083k , avc1.77.41, mp4a.40.2
2347        mp4        1280x720  2347k , avc1.77.41, mp4a.40.2 (best)


AAA 10-07-2020 10:32 AM

Re: i24NEWS Live


 
livecli "https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602086 400~exp=1602090000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e1cbe69e7ebd13c38a66869141ada76c2134fa76853 1640255d5f1e5c2add936&__nn__=5476555825001&hdnea=s t=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c84770240 68d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=s t=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b4 9292ac0a39914dba1ffc5" best

j_cool 10-07-2020 11:52 AM

Re: i24NEWS Live


 
Code:

C:\livecli "https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602090000~exp=1602093600~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=3c1bf39834b5b0c66072404aa049844800d7c45b39315d70ee3ba874f37bb993&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5" best
[cli][info] Found matching plugin hls for URL https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602090000~exp=1602093600~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=3c1bf39834b5b0c66072404aa049844800d7c45b39315d70ee3ba874f37bb993&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5
[cli][info] Available streams: 180p (worst), 270p, 360p, 480p, 540p, 720p (best)
[cli][info] Opening stream: 720p (hls)
[cli][info] Starting player: C:\P\VLC\vlc.exe


Code:

C:\>streamlink "https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602090000~exp=1602093600~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=3c1bf39834b5b0c66072404aa049844800d7c45b39315d70ee3ba874f37bb993&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5" best
[cli][info] Found matching plugin hls for URL https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602090000~exp=1602093600~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=3c1bf39834b5b0c66072404aa049844800d7c45b39315d70ee3ba874f37bb993&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5
[cli][info] Available streams: 180p (worst), 270p, 360p, 480p, 540p, 720p (best)
[cli][info] Opening stream: 720p (hls)
[cli][error] Try 1/1: Could not open stream <HLSStream('https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/profile_0/chunklist_dvr.m3u8?hdnea2=exp=1602120384~acl=%2F773a2fa387914315ad11e6957cd54f6e%2Feu-central-1%2F5377161796001%2F*~hmac=2a1eb198394ab80e54d93b00eb919cc4711290805011055236d2532ad6fd8445')> (Could not open stream: Unable to open URL: https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/profile_0/chunklist_dvr.m3u8?hdnea2=exp=1602120384~acl=%2F773a2fa387914315ad11e6957cd54f6e%2Feu-central-1%2F5377161796001%2F*~hmac=2a1eb198394ab80e54d93b00eb919cc4711290805011055236d2532ad6fd8445 (403 Client Error: Forbidden for url: https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/profile_0/chunklist_dvr.m3u8?hdnea2=exp=1602120384~acl=%2F773a2fa387914315ad11e6957cd54f6e%2Feu-central-1%2F5377161796001%2F*~hmac=2a1eb198394ab80e54d93b00eb919cc4711290805011055236d2532ad6fd8445))
error: Could not open stream <HLSStream('https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/profile_0/chunklist_dvr.m3u8?hdnea2=exp=1602120384~acl=%2F773a2fa387914315ad11e6957cd54f6e%2Feu-central-1%2F5377161796001%2F*~hmac=2a1eb198394ab80e54d93b00eb919cc4711290805011055236d2532ad6fd8445')>, tried 1 times, exiting

livecli works and streamlink doesn't work. no comment.

Now we know we can play the stream in player just how to get stream url without browser is left unsolved for now.

Maybe some nightly version of some player could play the stream directly, none of my players could.

AAA 10-07-2020 01:10 PM

Re: i24NEWS Live


 
curl -H "Accept: application/json;pk=BCpkADawqM1UIU4favtR1Jj4rqM0ZAkYwMEbgN9bsE pJ2150CdxJmRIG8jK-Up_9w4w37x3tP1AsoO_MZhD_XoAGkdKWxymaaw4OHuhPn_lEJc zODTm3AO7S08gLFPnLnb-FcKJwXhbxCQ10" https://edge.api.brightcove.com/play.../6168209415001

j_cool 10-07-2020 02:34 PM

Re: i24NEWS Live


 
Nearly there. You solved the mystery and now I have to automate it and put in script.

Code:

C:\>curl -k -H "Accept: application/json;pk=BCpkADawqM1UIU4favtR1Jj4rqM0ZAkYwMEbgN9bsEpJ2150CdxJmRIG8jK-Up_9w4w37x3tP1AsoO_MZhD_XoAGkdKWxymaaw4OHuhPn_lEJczODTm3AO7S08gLFPnLnb-FcKJwXhbxCQ10" https://edge.api.brightcove.com/playback/v1/accounts/5377161796001/videos/6168209415001
{"poster":"https://cf-images.eu-west-1.prod.boltdns.net/v1/static/5377161796001/7ca3cb2c-eae6-485b-9ca0-106095c046da/81b510f3-7a73-49bf-a2da-c2ce620eed3c/1280x720/match/image.jpg","thumbnail":"https://cf-images.eu-west-1.prod.boltdns.net/v1/static/5377161796001/7ca3cb2c-eae6-485b-9ca0-106095c046da/2241157d-98d1-468d-919b-3e058b03b695/160x90/match/image.jpg","poster_sources":[{"src":"https://cf-images.eu-west-1.prod.boltdns.net/v1/static/5377161796001/7ca3cb2c-eae6-485b-9ca0-106095c046da/81b510f3-7a73-49bf-a2da-c2ce620eed3c/1280x720/match/image.jpg"}],"thumbnail_sources":[{"src":"https://cf-images.eu-west-1.prod.boltdns.net/v1/static/5377161796001/7ca3cb2c-eae6-485b-9ca0-106095c046da/2241157d-98d1-468d-919b-3e058b03b695/160x90/match/image.jpg"}],"description":null,"tags":[],"cue_points":[],"custom_fields":{},"account_id":"5377161796001","sources":[{"asset_id":"6168211852001","src":"https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001\u0026hdnea=st=1602100800~exp=1602104400~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=7481ab35c27b510dceb7657c4a7de7a4c6fd95c0a0491b00c01278b09cb76feb\u0026__nn__=5476555825001\u0026hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1\u0026__nn__=5476555825001\u0026hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5","type":"application/vnd.apple.mpegurl"}],"name":"Arabic live free","reference_id":null,"long_description":null,"duration":0,"economics":"AD_SUPPORTED","text_tracks":[],"published_at":"2020-08-25T18:40:33.825Z","created_at":"2020-06-30T08:00:26.822Z","updated_at":"2020-08-25T18:40:33.851Z","offline_enabled":false,"link":null,"id":"6168209415001","ad_keys":null}

I try to get the header and to work arround this error:

"error_code": "INVALID_POLICY_KEY",
"message": "Request policy key is missing or invalid"

Code:

GET https://edge.api.brightcove.com/playback/v1/accounts/5377161796001/videos/6168209415001 HTTP/1.1
Host: edge.api.brightcove.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0
Accept: application/json;pk=BCpkADawqM1UIU4favtR1Jj4rqM0ZAkYwMEbgN9bsEpJ2150CdxJmRIG8jK-Up_9w4w37x3tP1AsoO_MZhD_XoAGkdKWxymaaw4OHuhPn_lEJczODTm3AO7S08gLFPnLnb-FcKJwXhbxCQ10
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://www.i24news.tv/ar/%D9%85%D8%A8%D8%A7%D8%B4%D8%B1
Origin: https://www.i24news.tv
DNT: 1
Connection: keep-alive

If these fields aren't volatile there isn't need to get this header every time and code you posted is enough.

AAA 10-07-2020 03:08 PM

Re: i24NEWS Live


 
'POLICY_KEY' is constantly changing.

j_cool 10-07-2020 03:10 PM

Re: i24NEWS Live


 
So the last obstacle. I'll have to work out something.

darkweblinks 10-07-2020 10:07 PM

Re: i24NEWS Live


 
kurtizanki moscow Up l??n cho bá??n

j_cool 10-08-2020 01:43 AM

Re: i24NEWS Live


 
Thank you darkweblinks.
You pay for me and I would fuck some of those models.

j_cool 10-08-2020 01:53 AM

Re: i24NEWS Live


 
But if you want to do me even greater favour, pay for me to watch Smithsonian Channel somewhere.
I cannot pay even if I wanted to with my debit card and UK post code.

j_cool 10-08-2020 04:51 AM

Re: i24NEWS Live


 
Code:

$header = '"Accept: application/json;pk=BCpkADawqM1UIU4favtR1Jj4rqM0ZAkYwMEbgN9bsEpJ2150CdxJmRIG8jK-Up_9w4w37x3tP1AsoO_MZhD_XoAGkdKWxymaaw4OHuhPn_lEJczODTm3AO7S08gLFPnLnb-FcKJwXhbxCQ10"'
$url = ' "https://edge.api.brightcove.com/playback/v1/accounts/5377161796001/videos/6168209415001"'
$iPID = Run('cmd.exe /c curl.exe -k -H '& $header & $url,'',@SW_MINIMIZE,2)
ProcessWaitClose($iPID)
$s = StdoutRead($iPID)
$s = StringTrimLeft($s,StringInStr($s,'"https://i24alive2'))
$s = StringTrimRight($s,(StringLen($s)+1)-StringInStr($s,'"'))
run('cmd.exe /c livecli.exe --player=ffplay.exe "'& $s &'" 540p','',@SW_MINIMIZE)



Here is basic script. Not much but it is a start.
Broadcast is half day in english and another half day in arabic.
For english only stream i24news demands "membership", no option for me.

darkweblinks 10-08-2020 09:45 AM

Re: i24NEWS Live


 
app maker Tham khá??o , c?? bá??n n?*o v?*o Zalo n??i chuyện vá»›i m?¬nh kh?´ng nhỉ 01232462435

http://www.drugoffice.gov.hk/gb/unigb/u3.net

j_cool 10-08-2020 10:09 AM

Re: i24NEWS Live


 
Post a link that works. When I click on it I get to dead end.

j_cool 10-09-2020 01:28 AM

Re: i24NEWS Live


 
I have good news. Stream plays with yesterday's script without changing anything.
Right now broadcast is in english. I can relax and enjoy news from holy land.

darkweblinks 10-09-2020 01:36 AM

Re: i24NEWS Live


 
escort Egypt Cairo , EscortFox is an erotic and escorts advertisements directory. Advertisements from escorts, erotic massage providers, men and women looking for new friends


All times are GMT -6. The time now is 09:27 AM.