mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
use of apmap when necessary
This commit is contained in:
parent
f4f4bb6506
commit
8035fee4b3
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,6 @@ class NekosamaProvider : MainAPI() {
|
||||||
private val resultsSearchNbr = 30 // take only n results from search function
|
private val resultsSearchNbr = 30 // take only n results from search function
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
data class EpisodeData(
|
data class EpisodeData(
|
||||||
@JsonProperty("id") val id: Int,
|
@JsonProperty("id") val id: Int,
|
||||||
@JsonProperty("title") val title: String?,
|
@JsonProperty("title") val title: String?,
|
||||||
|
@ -124,6 +123,7 @@ class NekosamaProvider : MainAPI() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Cherche le site pour un titre spécifique
|
Cherche le site pour un titre spécifique
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ class NekosamaProvider : MainAPI() {
|
||||||
links.add(link)
|
links.add(link)
|
||||||
var ListResults = ArrayList<SearchResponse>()
|
var ListResults = ArrayList<SearchResponse>()
|
||||||
if (links != null) {
|
if (links != null) {
|
||||||
links.forEach {
|
links.apmap {
|
||||||
val url = it.first
|
val url = it.first
|
||||||
val version = it.second
|
val version = it.second
|
||||||
val reponse = app.get(url).text
|
val reponse = app.get(url).text
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue