diff --git a/popup.html b/popup.html index f4aa515..7b303d9 100644 --- a/popup.html +++ b/popup.html @@ -28,11 +28,12 @@ Challenge scheme CommonWV - Canal+ Amazon + Canal+ Comcast Xfinity DRMToday GlobalTV + moTV NosTV Polsat Red Bee Media diff --git a/python/schemes/moTV.py b/python/schemes/moTV.py new file mode 100644 index 0000000..8c0ebe4 --- /dev/null +++ b/python/schemes/moTV.py @@ -0,0 +1,7 @@ +payload = loadBody("json") + +b64challenge = base64.b64encode(challenge).decode() +payload['rawLicense'] = b64challenge + +res = await corsFetch(licUrl, "POST", licHeaders, payload, "json") +licence = res['rawLicense'] diff --git a/selectRules.conf b/selectRules.conf index 0f2703b..2ec53cf 100644 --- a/selectRules.conf +++ b/selectRules.conf @@ -12,6 +12,8 @@ NOS71ZV1/wvls$$NosTV license.vdocipher.com/auth$$VdoCipher zones/cppol/devices/31/apps/1/jobs/GetLicence$$CanalPlus widevine-proxy.drm.technology/proxy$$RiverTV +motv.eu/widevine_proxy$$moTV +mw.tvnsul.com.br/widevine_proxy$$moTV contentlicenseservice/v1/licenses media-license-server/validate-auth-token wv-keyos.licensekeyserver