From 8f4d60bd09a06f11c654e13d0c23da5093d70e37 Mon Sep 17 00:00:00 2001 From: Stormunblessed <86633626+Stormunblessed@users.noreply.github.com> Date: Tue, 29 Mar 2022 18:34:34 +0000 Subject: [PATCH] Keys (#880) --- .../cloudstream3/animeproviders/GogoanimeProvider.kt | 4 ++-- .../lagradost/cloudstream3/movieproviders/VidEmbedProvider.kt | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/animeproviders/GogoanimeProvider.kt b/app/src/main/java/com/lagradost/cloudstream3/animeproviders/GogoanimeProvider.kt index 001faf93..f7313ec6 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/animeproviders/GogoanimeProvider.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/animeproviders/GogoanimeProvider.kt @@ -380,9 +380,9 @@ class GogoanimeProvider : MainAPI() { loadExtractor(data, streamingResponse.url, callback) } }, { - val iv = "31323835363732333833393339383532".decodeHex() + val iv = "4770478969418267".toByteArray() val secretKey = - "3235373136353338353232393338333936313634363632323738383333323838".decodeHex() + "63976882873559819639988080820907".toByteArray() extractVidstream(iframe, this.name, callback, iv, secretKey) }) } diff --git a/app/src/main/java/com/lagradost/cloudstream3/movieproviders/VidEmbedProvider.kt b/app/src/main/java/com/lagradost/cloudstream3/movieproviders/VidEmbedProvider.kt index a8501c53..4ecbeaca 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/movieproviders/VidEmbedProvider.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/movieproviders/VidEmbedProvider.kt @@ -20,6 +20,9 @@ class VidEmbedProvider : VidstreamProviderTemplate() { "$mainUrl/cinema-movies" ) + override val iv = "9225679083961858".toByteArray() + override val secretKey = "25742532592138496744665879883281".toByteArray() + // This is just extra metadata about what type of movies the provider has. // Needed for search functionality. override val supportedTypes = setOf(TvType.TvSeries, TvType.Movie)