mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
animeworld quicksearch fix
This commit is contained in:
parent
93991f66ea
commit
edd50f01f9
1 changed files with 3 additions and 2 deletions
|
@ -167,7 +167,8 @@ class AnimeWorldProvider : MainAPI() {
|
||||||
@JsonProperty("link") val link: String,
|
@JsonProperty("link") val link: String,
|
||||||
@JsonProperty("animeTypeName") val type: String,
|
@JsonProperty("animeTypeName") val type: String,
|
||||||
@JsonProperty("language") val language: String,
|
@JsonProperty("language") val language: String,
|
||||||
@JsonProperty("jtitle") val otherTitle: String
|
@JsonProperty("jtitle") val otherTitle: String,
|
||||||
|
@JsonProperty("identifier") val id: String
|
||||||
)
|
)
|
||||||
|
|
||||||
override suspend fun quickSearch(query: String): List<SearchResponse>? {
|
override suspend fun quickSearch(query: String): List<SearchResponse>? {
|
||||||
|
@ -183,7 +184,7 @@ class AnimeWorldProvider : MainAPI() {
|
||||||
"it" -> true
|
"it" -> true
|
||||||
else -> false
|
else -> false
|
||||||
}
|
}
|
||||||
newAnimeSearchResponse(anime.name, anime.link, type) {
|
newAnimeSearchResponse(anime.name, "$mainUrl/play/${anime.link}.${anime.id}", type) {
|
||||||
addDubStatus(dub)
|
addDubStatus(dub)
|
||||||
this.otherName = anime.otherTitle
|
this.otherName = anime.otherTitle
|
||||||
this.posterUrl = anime.image
|
this.posterUrl = anime.image
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue