mirror of
https://github.com/FoxRefire/wvg.git
synced 2025-01-14 22:41:11 +00:00
Add support for oqee.tv (#49)
Add support for oqee.tv (french isp live tv)
This commit is contained in:
parent
e3994bdac2
commit
b29a91e908
@ -36,6 +36,7 @@
|
||||
<option value="GlobalTV">GlobalTV</option>
|
||||
<option value="moTV">moTV</option>
|
||||
<option value="NosTV">NosTV</option>
|
||||
<option value="oqee">Oqee</option>
|
||||
<option value="Polsat">Polsat</option>
|
||||
<option value="RedBee">Red Bee Media</option>
|
||||
<option value="thePlatform">thePlatform</option>
|
||||
|
7
python/schemes/oqee.py
Normal file
7
python/schemes/oqee.py
Normal file
@ -0,0 +1,7 @@
|
||||
req = loadBody("json")
|
||||
b64challenge = base64.b64encode(challenge).decode()
|
||||
req['licenseRequest'] = b64challenge
|
||||
|
||||
res = await corsFetch(licUrl, "POST", licHeaders, req, "json")
|
||||
js.document.getElementById('result').value=res
|
||||
licence = res["result"]["license"]
|
Loading…
Reference in New Issue
Block a user