From 9dd9f7743a6531a029b1b9687a8e7745d638e6d3 Mon Sep 17 00:00:00 2001 From: Yato Sama Date: Thu, 18 Apr 2024 22:32:01 +0530 Subject: [PATCH] Minor Fix --- .../main/java/com/talent/animescrapsources/SourceSelector.kt | 2 +- .../com/talent/animescrapsources/animesources/AniWaveSource.kt | 2 +- .../java/com/talent/animescrapsources/animesources/AsianLoad.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/animeSources/src/main/java/com/talent/animescrapsources/SourceSelector.kt b/animeSources/src/main/java/com/talent/animescrapsources/SourceSelector.kt index 72ff7c2..7aa8489 100644 --- a/animeSources/src/main/java/com/talent/animescrapsources/SourceSelector.kt +++ b/animeSources/src/main/java/com/talent/animescrapsources/SourceSelector.kt @@ -10,7 +10,7 @@ class SourceSelector(context: Context) { "allanime" to AllAnimeSource(), "animepahe" to AnimePaheSource(), "kawaiifu" to KawaiifuSource(context), - "aniwave" to AniWaveSource(), +// "aniwave" to AniWaveSource(), "kiss_kh" to KissKhSource(), "asian_load" to AsianLoad(), "my_asian_tv" to MyAsianTvSource(), diff --git a/animeSources/src/main/java/com/talent/animescrapsources/animesources/AniWaveSource.kt b/animeSources/src/main/java/com/talent/animescrapsources/animesources/AniWaveSource.kt index 0c1ce67..41957e9 100644 --- a/animeSources/src/main/java/com/talent/animescrapsources/animesources/AniWaveSource.kt +++ b/animeSources/src/main/java/com/talent/animescrapsources/animesources/AniWaveSource.kt @@ -125,7 +125,7 @@ class AniWaveSource : AnimeSource { val u = "$mainUrl/mediainfo/${a.joinToString(",")}?${url.substringAfter("?")}" val response = postJson( url = "$apiUrl/rawVizcloud?query=$k&apikey=lagrapps", - payload = mapOf("query" to id, "futoken" to fuToken) + payload = mapOf("query" to u, "futoken" to fuToken) ) val rawURL = response!!.asJsonObject["rawURL"].asString return "$rawURL?${sourceUrl.split('?')[1]}" diff --git a/animeSources/src/main/java/com/talent/animescrapsources/animesources/AsianLoad.kt b/animeSources/src/main/java/com/talent/animescrapsources/animesources/AsianLoad.kt index 455772e..dd50ff5 100644 --- a/animeSources/src/main/java/com/talent/animescrapsources/animesources/AsianLoad.kt +++ b/animeSources/src/main/java/com/talent/animescrapsources/animesources/AsianLoad.kt @@ -9,7 +9,7 @@ import com.talent.animescrap_common.utils.Utils.get import org.jsoup.Jsoup class AsianLoad : AnimeSource { - private val mainUrl = "https://asianload.cc" + private val mainUrl = "https://pladrac.net" override suspend fun animeDetails(contentLink: String): AnimeDetails { val url = "$mainUrl${contentLink}" val doc = Jsoup.parse(get(url))