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
1fe5ed78be
1 changed files with 2 additions and 2 deletions
|
@ -94,9 +94,9 @@ class Aniworld : MainAPI() {
|
||||||
document.select("li:contains(Schauspieler:) ul li a").map { it.select("span").text() }
|
document.select("li:contains(Schauspieler:) ul li a").map { it.select("span").text() }
|
||||||
|
|
||||||
val episodes = mutableListOf<Episode>()
|
val episodes = mutableListOf<Episode>()
|
||||||
document.select("div#stream > ul:first-child li").apmap { ele ->
|
document.select("div#stream > ul:first-child li").map { ele ->
|
||||||
val page = ele.selectFirst("a")
|
val page = ele.selectFirst("a")
|
||||||
val epsDocument = app.get(fixUrl(page?.attr("href") ?: return@apmap)).document
|
val epsDocument = app.get(fixUrl(page?.attr("href") ?: return@map)).document
|
||||||
epsDocument.select("div#stream > ul:nth-child(4) li").mapNotNull { eps ->
|
epsDocument.select("div#stream > ul:nth-child(4) li").mapNotNull { eps ->
|
||||||
episodes.add(
|
episodes.add(
|
||||||
Episode(
|
Episode(
|
||||||
|
|
Loading…
Reference in a new issue