From 8da0ac56c46460ea88607a86d1cfe4b6fad80a1e Mon Sep 17 00:00:00 2001 From: stratumadev Date: Mon, 14 Apr 2025 20:23:30 +0200 Subject: [PATCH] added new crunchyroll drm endpoints --- modules/module.api-urls.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/module.api-urls.ts b/modules/module.api-urls.ts index 8b3f1ae..f17e9bc 100644 --- a/modules/module.api-urls.ts +++ b/modules/module.api-urls.ts @@ -32,6 +32,8 @@ export type APIType = { beta_browse: string beta_cms: string, drm: string; + drm_widevine: string; + drm_playready: string; /** * Header */ @@ -73,6 +75,10 @@ const api: APIType = { beta_cms: `${domain.api_beta}/cms/v2`, // beta api drm: `${domain.api_beta}/drm/v1/auth`, + // new drm endpoints + drm_widevine: `${domain.www}/license/v1/license/widevine`, + // playready endpoint currently broken + drm_playready: `${domain.www}/license/v1/license/playReady`, crunchyAuthHeader: {}, //hidive API hd_apikey: '508efd7b42d546e19cc24f4d0b414e57e351ca73',