small fix

This commit is contained in:
hexated 2023-01-03 06:21:34 +07:00
parent 502b053950
commit 1419a2a298
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class YugenAnime : MainAPI() {
val home = document.select("div.cards-grid a, ul.ep-grid li.ep-card").mapNotNull {
it.toSearchResult()
}
items.add(HomePageList(request.name, home, request.name == "Recently Released"))
items.add(HomePageList(request.name, home))
return newHomePageResponse(items)
}
@ -171,6 +171,7 @@ class YugenAnime : MainAPI() {
return when {
url.contains("vrv", true) -> "Vrv"
url.contains("gofcdn", true) -> "Gofcdn"
url.contains("cache", true) -> "Cache"
else -> this.name
}
}