From 51210ea5b73c0161a686ea32232a2c53943446c2 Mon Sep 17 00:00:00 2001 From: Deepak Patil Date: Sat, 31 Dec 2022 13:22:26 +0530 Subject: [PATCH] fix(AnimeWord): update rocklinks bypass --- AnimeWorldProvider/build.gradle.kts | 2 +- .../src/main/kotlin/com/darkdemon/AnimeWorldProvider.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AnimeWorldProvider/build.gradle.kts b/AnimeWorldProvider/build.gradle.kts index 22d8c23..a50fd65 100644 --- a/AnimeWorldProvider/build.gradle.kts +++ b/AnimeWorldProvider/build.gradle.kts @@ -1,4 +1,4 @@ -version = 4 +version = 5 cloudstream { diff --git a/AnimeWorldProvider/src/main/kotlin/com/darkdemon/AnimeWorldProvider.kt b/AnimeWorldProvider/src/main/kotlin/com/darkdemon/AnimeWorldProvider.kt index 8002e23..a5b9274 100644 --- a/AnimeWorldProvider/src/main/kotlin/com/darkdemon/AnimeWorldProvider.kt +++ b/AnimeWorldProvider/src/main/kotlin/com/darkdemon/AnimeWorldProvider.kt @@ -190,7 +190,7 @@ class AnimeWorldProvider : MainAPI() { // all providers must be an instance of M private suspend fun bypassRockLinks(link: String) { val domain = - if (link.contains("rocklinks")) "https://blog.disheye.com" else "https://cac.teckypress.in" + if (link.contains("rocklinks")) "https://link.techyone.co" else "https://cac.teckypress.in" val baseUrl = if (link.contains("rocklinks")) "$domain/${link.substringAfterLast("/")}?quelle=" else "$domain/${ link.substringAfterLast("/")