Skip to content

Commit

Permalink
Merge branch 'aniyomiorg:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Dark25 authored Jan 23, 2024
2 parents 951bf1b + 96076b4 commit 5b144fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions multisrc/overrides/animestream/animeindo/src/AnimeIndo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ class AnimeIndo : AnimeStream(
"AnimeIndo",
"https://animeindo.skin",
) {
override val animeListUrl = "$baseUrl/animelist"
override val animeListUrl = "$baseUrl/browse"

// ============================== Popular ===============================
override fun popularAnimeRequest(page: Int) = GET("$animeListUrl/page/$page/?order=popular")
override fun popularAnimeRequest(page: Int) = GET("$animeListUrl/browse?sort=view&page=$page")

// =============================== Latest ===============================
override fun latestUpdatesRequest(page: Int) = GET("$animeListUrl/page/$page/?order=update")
override fun latestUpdatesRequest(page: Int) = GET("$animeListUrl/browse?sort=created_at&page=$page")

// =============================== Search ===============================
override fun searchAnimeRequest(page: Int, query: String, filters: AnimeFilterList): Request {
Expand All @@ -46,7 +46,7 @@ class AnimeIndo : AnimeStream(
if (params.studios.isNotEmpty()) append(params.studios + "&")
}

return GET("$animeListUrl/page/$page/?title=$query&$multiString&status=${params.status}&type=${params.type}&order=${params.order}")
return GET("$animeListUrl/browse?page=$page&title=$query&$multiString&status=${params.status}&type=${params.type}&order=${params.order}")
}

override fun searchAnimeSelector() = "div.animepost > div > a"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class AnimeStreamGenerator : ThemeSourceGenerator {

override val sources = listOf(
SingleLang("AnimeBalkan", "https://animebalkan.org", "sr", isNsfw = false, overrideVersionCode = 1),
SingleLang("AnimeIndo", "https://animeindo.skin", "id", isNsfw = false, overrideVersionCode = 8),
SingleLang("AnimeIndo", "https://animeindo.skin", "id", isNsfw = false, overrideVersionCode = 9),
SingleLang("AnimeKhor", "https://animekhor.xyz", "en", isNsfw = false, overrideVersionCode = 3),
SingleLang("Animenosub", "https://animenosub.com", "en", isNsfw = true, overrideVersionCode = 4),
SingleLang("AnimeXin", "https://animexin.vip", "all", isNsfw = false, overrideVersionCode = 8),
Expand Down

0 comments on commit 5b144fc

Please sign in to comment.