Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
Minor Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fakeyatogod committed Apr 18, 2024
1 parent e576b6b commit 9dd9f77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 9dd9f77

Please sign in to comment.