From 1c9bc998b995ec7620eda3b522c1f21ec87ae2dd Mon Sep 17 00:00:00 2001 From: FoxRefire <155989196+FoxRefire@users.noreply.github.com> Date: Mon, 29 Apr 2024 12:35:30 +0900 Subject: [PATCH] GlobalTV --- popup.html | 1 + python/schemes/GlobalTV.py | 8 ++++++++ selectRules.conf | 1 + 3 files changed, 10 insertions(+) create mode 100644 python/schemes/GlobalTV.py diff --git a/popup.html b/popup.html index 6fb5f05..dada55d 100644 --- a/popup.html +++ b/popup.html @@ -27,6 +27,7 @@
diff --git a/python/schemes/GlobalTV.py b/python/schemes/GlobalTV.py new file mode 100644 index 0000000..dcd37b2 --- /dev/null +++ b/python/schemes/GlobalTV.py @@ -0,0 +1,8 @@ +payload = json.loads(licBody) +challengeArr = list(challenge) +payload['license_request_data']=challengeArr +licence = await (await pyfetch(licUrl, + method="POST", + headers=licHeaders, + body=payload +)).bytes() diff --git a/selectRules.conf b/selectRules.conf index 1638717..ea8fa4d 100644 --- a/selectRules.conf +++ b/selectRules.conf @@ -1,5 +1,6 @@ cwip-shaka-proxy c4.eme.lp.aws.redbee$$RedBee lic.staging.drmtoday$$DRMToday +corusappservices.com/authorization/widevine/getresourcekey$$GlobalTV license-ap licenseManager.do