Closed Orensjanelle closed 12 months ago
how do we get those "constant" TF1's link? (ex: https://tf1-hls-live-cdn1.tf1.fr/out/v1/c2e382be3aa2486e8753747e7bb6157e/index.m3u8)
original TFX TF1S TMC are now tokenized VLC
http://www.callofliberty.fr/stream/TF1SERIESFILMS/master.m3u8
http://www.callofliberty.fr/stream/TMC/master.m3u8
http://www.callofliberty.fr/stream/TFX/master.m3u8
kodi
alt
http://livetv.ktv.zone/3/play.m3u8
http://livetv.ktv.zone/22/play.m3u8
http://livetv.ktv.zone/12/play.m3u8
how do we get those "constant" TF1's link? (ex: https://tf1-hls-live-cdn1.tf1.fr/out/v1/c2e382be3aa2486e8753747e7bb6157e/index.m3u8)
It would need a POST to https://compte.tf1.fr/accounts.login
loginID= email &password= password &sessionExpiration=31536000&targetEnv=jssdk&include=identities-all%2Cdata%2Cprofile%2Cpreferences%2C&includeUserInfo=true&loginMode=standard&lang=fr&APIKey=3_hWgJdARhz_7l1oOp3a8BDLoR9cuWZpUaKG4aqF7gum9_iK3uTZ2VlDBl8ANf8FVk&sdk=js_latest&authMode=cookie&pageURL=https%3A%2F%2Fwww.tf1.fr%2F&sdkBuild=13987&format=json
You then grab the UIDSignature and the UID from the Gigya response (either from the accounts login, either from the userInfo, UID + UIDSignature).
You then POST to https://www.tf1.fr/token/gigya/web, in order for this request to work you will also need to create a timestamp in EPOCH/UNIX format (something like 1687780538)
{"uid":" UID ","signature":" UIDSignature ","timestamp":,"consent_ids":["1","2","3","4","10001","10003","10005","10007","10013","10015","10017","10019","10009","10011","13002","13001","10004","10014","10016","10018","10020","10010","10012","10006","10008"]
You grab the "token" from the JSON answer.
After that, you can do a GET request to https://mediainfo.tf1.fr/mediainfocombo/L_TF1?pver=5010000&context=MYTF1&topDomain=unknown&platform=web&device=desktop&os=windows&osVersion=10.0&playerVersion=5.10.0&productName=mytf1&productVersion=2.59.2&browser=firefox&browserVersion=114 with a specific header Authorization : Bearer token.
Answer will be in "delivery" -> "url"
by the way, we don't have to create a timestamp, it is referenced in the "signatureTimestamp" property!
but the thing is that i'm talking about not-tokenized url
hey, could someone explain to me how to do all this POST stuff please ? i've been able to access a URL with what seems like a token using the network tab on firefox, but it doen't seem to work. It could just be my internet though.
but the thing is that i'm talking about not-tokenized url
Doesn't exist anymore, officially.
after checking, i do have a URL with a token that works, but it stops working after a bit. i was able to get it to work fully, but i don't know how
and right after i post that it started working again, should i post the link ? i know it's got my token but my account is literally useless so whatever
and right after i post that it started working again, should i post the link ? i know it's got my token but my account is literally useless so whatever
The token changes over a few hours, so I don't think it would work.
Channel ID
TFX.fr
Stream URL (optional)
No response
Notes (optional)
I can not find this Channel with the link
Please confirm the following