mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
Update Ngefilm.kt
This commit is contained in:
parent
2b3fb0e8e0
commit
03abe25ac5
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class Ngefilm : MainAPI() {
|
||||||
.filter { element -> !element.text().contains("Pilih Episode", true) }
|
.filter { element -> !element.text().contains("Pilih Episode", true) }
|
||||||
.map { eps ->
|
.map { eps ->
|
||||||
val href = fixUrl(eps.attr("href"))
|
val href = fixUrl(eps.attr("href"))
|
||||||
val episode = eps.text().filter { it.isDigit() }.toIntOrNull()
|
val episode = eps.text().substringAfter("Eps").toIntOrNull()
|
||||||
val season =
|
val season =
|
||||||
eps.text().split(" ").first().substringAfter("S").toIntOrNull() ?: 1
|
eps.text().split(" ").first().substringAfter("S").toIntOrNull() ?: 1
|
||||||
Episode(
|
Episode(
|
||||||
|
|
Loading…
Reference in a new issue