From b9fd6d8a021e5a519629fcd12808dfc471d3a735 Mon Sep 17 00:00:00 2001 From: jack Date: Thu, 30 Nov 2023 23:49:59 +0700 Subject: [PATCH] fu --- KuramanimeProvider/build.gradle.kts | 2 +- .../src/main/kotlin/com/hexated/KuramanimeProvider.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/KuramanimeProvider/build.gradle.kts b/KuramanimeProvider/build.gradle.kts index bb673312..a2b3e16a 100644 --- a/KuramanimeProvider/build.gradle.kts +++ b/KuramanimeProvider/build.gradle.kts @@ -1,5 +1,5 @@ // use an integer for version numbers -version = 25 +version = 26 cloudstream { diff --git a/KuramanimeProvider/src/main/kotlin/com/hexated/KuramanimeProvider.kt b/KuramanimeProvider/src/main/kotlin/com/hexated/KuramanimeProvider.kt index b5d958f3..a845d299 100644 --- a/KuramanimeProvider/src/main/kotlin/com/hexated/KuramanimeProvider.kt +++ b/KuramanimeProvider/src/main/kotlin/com/hexated/KuramanimeProvider.kt @@ -230,7 +230,7 @@ class KuramanimeProvider : MainAPI() { private suspend fun fetchAuth(url: String) : Pair { val found = WebViewResolver( - Regex("""$mainUrl/\w{24,36}""") + Regex("""$mainUrl/(?!anime|assets|images)\w+""") ).resolveUsingWebView( requestCreator( "GET", url