upstream updates

This commit is contained in:
VineFeeder
2026-05-02 09:47:26 +01:00
parent d4229d212a
commit 5f4ba355f8
2 changed files with 4 additions and 6 deletions
@@ -21,7 +21,7 @@ class CRAV(Service):
Service code for Bell Media's Crave streaming service (https://crave.ca).
\b
Version: 1.0.0
Version: 1.0.1
Author: stabbedbybrick
Authorization: Credentials
Geofence: CA (API and downloads)
@@ -275,10 +275,7 @@ class CRAV(Service):
return sorted(chapters, key=lambda x: x.timestamp)
def get_widevine_service_certificate(self, challenge: bytes, **_: Any) -> bytes | None:
if self.drm_system == "widevine":
return self.session.post(url=self.license_url, data=challenge).content
return None
return self.session.post(url=self.config["endpoints"]["widevine"], data=challenge).content
def get_widevine_license(self, *, challenge: bytes, title: Episode | Movie, track: Any, **kwargs) -> bytes | str | None:
headers = {
@@ -24,7 +24,7 @@ class KNPY(Service):
Service code for Kanopy streaming service (https://www.kanopy.com/).
\b
Version: 1.0.1
Version: 1.0.2
Author: stabbedbybrick
Authorization: Credentials
Geofence: None
@@ -230,6 +230,7 @@ class KNPY(Service):
codec=Subtitle.Codec.from_codecs(sub.get("url").split(".")[-1]),
language=language,
url=sub.get("url"),
sdh="CC" in caption.get("label", ""),
)
)