mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
small fix
This commit is contained in:
parent
502b053950
commit
1419a2a298
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue