Skip to content

Commit

Permalink
Add support for oqee.tv (#49)
Browse files Browse the repository at this point in the history
Add support for oqee.tv (french isp live tv)
  • Loading branch information
Psyquoquack authored Aug 12, 2024
1 parent e3994bd commit b29a91e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
7 changes: 7 additions & 0 deletions python/schemes/oqee.py
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit b29a91e

Please sign in to comment.