The whole syntax is in batch file. Referer is
https://noob4cast.com/ and it doesn't change.
Hls url is changing.
Code:
set referer="Referer=https://noob4cast.com/"
set url="https://s6.merizaat.com:8080/hls/hdchnl1.m3u8?md5=hU_czdD3GkayEi1VmXKKXw&expires=1662860389"
streamlink.exe --http-header %referer% %url% best
is the same as:
Code:
streamlink.exe --http-header "Referer=https://noob4cast.com/" "https://s6.merizaat.com:8080/hls/hdchnl1.m3u8?md5=hU_czdD3GkayEi1VmXKKXw&expires=1662860389" best
Run this url in Chrome:
http://gy.freestreams-live1.com/bbc-one/
Press F12, select "Network" tab, right click on m3u8 url:
'
https://s6.merizaat.com:8080/hls/hdchnl1.m3u8?md5=F4iCbjwhgKLTLqT7JJ2cqA&expires=16 63116671'
select "Copy" > "Copy as fetch"
Then open Notepad, and paste (content from clipboard). You get this:
Code:
fetch("https://s6.merizaat.com:8080/hls/hdchnl1.m3u8?md5=F4iCbjwhgKLTLqT7JJ2cqA&expires=1663116671", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"if-modified-since": "Tue, 13 Sep 2022 22:51:41 GMT",
"if-none-match": "\"6321097d-218\"",
"sec-ch-ua": "\"Google Chrome\";v=\"105\", \"Not)A;Brand\";v=\"8\", \"Chromium\";v=\"105\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "cross-site"
},
"referrer": "https://noob4cast.com/",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": null,
"method": "GET",
"mode": "cors",
"credentials": "omit"
});
All this can be done with script and that is what I ment by quote: How easy you get it depends on your skill.
Hls url is changing and doing this without scripting skills is a pain.