mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed YugenAnime episode
This commit is contained in:
parent
3293554df0
commit
6f1c38b83a
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class YugenAnime : MainAPI() {
|
||||||
val trailer = document.selectFirst("iframe.lozad.video")?.attr("src")
|
val trailer = document.selectFirst("iframe.lozad.video")?.attr("src")
|
||||||
|
|
||||||
val episodes = mutableListOf<Episode>()
|
val episodes = mutableListOf<Episode>()
|
||||||
for(page in 1..30) {
|
for(page in 1..50) {
|
||||||
val doc = app.get("${url}watch/?page=$page").document
|
val doc = app.get("${url}watch/?page=$page").document
|
||||||
val currentPage = doc.select("ul.pagination div.btn.btn-default").text().toIntOrNull() ?: 1
|
val currentPage = doc.select("ul.pagination div.btn.btn-default").text().toIntOrNull() ?: 1
|
||||||
if(page > currentPage) break
|
if(page > currentPage) break
|
||||||
|
|
Loading…
Reference in a new issue