mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
shit loklok
This commit is contained in:
parent
07dc70c7b5
commit
704b4da9d2
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ class Loklok : MainAPI() {
|
|||
val id = data?.last()
|
||||
val type = data?.get(2)?.toInt()
|
||||
val image = Regex("coverVerticalUrl:\"(\\S+?)\",").findAll(script.toString())
|
||||
.map { it.groupValues[1] }.toList()[num].replace("\\u002F", "/")
|
||||
.map { it.groupValues[1] }.toList().getOrNull(num)?.replace("\\u002F", "/")
|
||||
|
||||
|
||||
newMovieSearchResponse(
|
||||
"$name",
|
||||
|
|
Loading…
Reference in a new issue