diff --git a/popup.html b/popup.html index 02e6545..9aaa7c3 100644 --- a/popup.html +++ b/popup.html @@ -34,6 +34,7 @@ Challenge scheme CommonWV + Canal+ Amazon Comcast Xfinity DRMToday diff --git a/python/schemes/CanalPlus.py b/python/schemes/CanalPlus.py new file mode 100644 index 0000000..9def013 --- /dev/null +++ b/python/schemes/CanalPlus.py @@ -0,0 +1,7 @@ +payload = loadBody("json") + +b64challenge = base64.b64encode(challenge).decode() +payload['ServiceRequest']['InData']['ChallengeInfo'] = b64challenge + +res = await corsFetch(licUrl, "POST", licHeaders, payload, "json") +licence = res['ServiceResponse']['OutData']['LicenseInfo'] diff --git a/selectRules.conf b/selectRules.conf index 9c01daf..0093f01 100644 --- a/selectRules.conf +++ b/selectRules.conf @@ -10,6 +10,7 @@ cdp/catalog/GetPlaybackResources$$Amazon drm-license.youku.tv$$Youku NOS71ZV1/wvls$$NosTV license.vdocipher.com/auth$$VdoCipher +zones/cppol/devices/31/apps/1/jobs/GetLicence$$CanalPlus contentlicenseservice/v1/licenses media-license-server/validate-auth-token wv-keyos.licensekeyserver