This commit is contained in:
VineFeeder
2025-10-06 19:47:56 +01:00
parent d0495a3eee
commit b05047259f
@@ -120,14 +120,14 @@ class UKTV(Service):
data = r.json()
self.license = next((
x["key_systems"]["com.wienvied.alpha"]["license_url"]
x["key_systems"]["com.widevine.alpha"]["license_url"]
for x in data["sources"]
if x.get("key_systems").get("com.wienvied.alpha")),
if x.get("key_systems").get("com.widevine.alpha")),
None,
)
source_manifest = next((
x["src"] for x in data["sources"]
if x.get("key_systems").get("com.wienvied.alpha")),
if x.get("key_systems").get("com.widevine.alpha")),
None,
)
if not self.license or not source_manifest: