From 8bd75a78948ca5398da2cbac21cf330b198253e7 Mon Sep 17 00:00:00 2001 From: dystopia2017 <30868809+dystopia2017@users.noreply.github.com> Date: Thu, 3 Oct 2024 20:04:31 +0000 Subject: [PATCH] Add Fantop (#62) * Create Fantop.py Adds support for Fantop.jp * configs --------- Update popup.html --- blockRules.conf | 1 + popup.html | 1 + python/schemes/Fantop.py | 3 +++ selectRules.conf | 1 + 4 files changed, 6 insertions(+) create mode 100644 python/schemes/Fantop.py diff --git a/blockRules.conf b/blockRules.conf index 9daf72f..ac14947 100644 --- a/blockRules.conf +++ b/blockRules.conf @@ -1,3 +1,4 @@ +api.fantop.jp/api/v1/drm/widevine-license drm.lemino.docomo.ne.jp/widevine_license license.vdocipher.com ngenix.net/license diff --git a/popup.html b/popup.html index 6e8c27c..81592f2 100644 --- a/popup.html +++ b/popup.html @@ -56,6 +56,7 @@ + diff --git a/python/schemes/Fantop.py b/python/schemes/Fantop.py new file mode 100644 index 0000000..cb1baff --- /dev/null +++ b/python/schemes/Fantop.py @@ -0,0 +1,3 @@ +payload = loadBody('json') +payload['payload'] = getChallenge('b64') +licence = await corsFetch (licUrl, "POST", licHeaders, payload, "blob") diff --git a/selectRules.conf b/selectRules.conf index a1cff75..56089e7 100644 --- a/selectRules.conf +++ b/selectRules.conf @@ -13,6 +13,7 @@ NOS71ZV1/wvls$$NosTV license.vdocipher.com/auth$$VdoCipher secure-gen-hapi.canal-plus.com/conso/view$$CanalPlusVOD canalplustech.pro/api/V4/zones/cppol$$CanalPlusLive +api.fantop.jp/api/v1/drm/widevine-license$$Fantop widevine-proxy.drm.technology/proxy$$VUDRM widevine-license.vudrm.tech/proxy$$VUDRM motv.eu/widevine_proxy$$moTV