mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
4e962508b7
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 1
|
||||
version = 2
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue