Add another license server used in Canal+

This commit is contained in:
ElCap13 2024-06-14 11:49:52 +09:00
parent 0c7b9507f6
commit 361d6d58c0
3 changed files with 11 additions and 0 deletions

View File

@ -30,6 +30,7 @@
<option value="CommonWV">CommonWV</option>
<option value="Amazon">Amazon</option>
<option value="CanalPlus">Canal+</option>
<option value="CanalPlus2">Canal+(Alt)</option>
<option value="Comcast">Comcast Xfinity</option>
<option value="DRMToday">DRMToday</option>
<option value="GlobalTV">GlobalTV</option>

View File

@ -0,0 +1,9 @@
import re
b64challenge = base64.b64encode(challenge).decode()
res = await (await pyfetch(licUrl,
method="POST",
headers=licHeaders,
body=b64challenge
)).text()
licence = base64.b64decode(re.search(".*(.*)<\/license>", str(res))[2].encode())

View File

@ -11,6 +11,7 @@ drm-license.youku.tv$$Youku
NOS71ZV1/wvls$$NosTV
license.vdocipher.com/auth$$VdoCipher
zones/cppol/devices/31/apps/1/jobs/GetLicence$$CanalPlus
secure-gen-hapi.canal-plus.com/conso/view$$CanalPlus2
widevine-proxy.drm.technology/proxy$$RiverTV
motv.eu/widevine_proxy$$moTV
mw.tvnsul.com.br/widevine_proxy$$moTV