Files
WidevineL3_Extractor_Pugin/python/schemes/CanalPlusVOD.py
Joris Bertomeu ac0dc8286b Working version
2025-08-26 09:08:04 +02:00

4 lines
234 B
Python

import xml.etree.ElementTree as ET
licence = await corsFetch(licUrl, "POST", licHeaders, getChallenge('b64', Cdm.common_privacy_cert), "blob")
licence = ET.fromstring(licence).find('.//{http://www.canal-plus.com/DRM/V1}license').text