mirror of
https://github.com/vinefeeder/TwinVine.git
synced 2026-07-15 18:10:04 +02:00
upstream updates
This commit is contained in:
@@ -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,11 +275,8 @@ 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 self.session.post(url=self.config["endpoints"]["widevine"], data=challenge).content
|
||||
|
||||
return None
|
||||
|
||||
def get_widevine_license(self, *, challenge: bytes, title: Episode | Movie, track: Any, **kwargs) -> bytes | str | None:
|
||||
headers = {
|
||||
"Accept": "*/*",
|
||||
|
||||
@@ -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", ""),
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user