Merge remote-tracking branch 'origin/master'

This commit is contained in:
hexated 2023-06-15 23:26:49 +07:00
commit 4e962508b7
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 1
version = 2
cloudstream {

View File

@ -83,7 +83,7 @@ class Ngefilm : MainAPI() {
.filter { element -> !element.text().contains("Pilih Episode", true) }
.map { eps ->
val href = fixUrl(eps.attr("href"))
val episode = eps.text().filter { it.isDigit() }.toIntOrNull()
val episode = eps.text().substringAfter("Eps").toIntOrNull()
val season =
eps.text().split(" ").first().substringAfter("S").toIntOrNull() ?: 1
Episode(