mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed Kuramanime
This commit is contained in:
parent
93df7ea25f
commit
43beb98165
1 changed files with 4 additions and 4 deletions
|
@ -116,7 +116,7 @@ class KuramanimeProvider : MainAPI() {
|
||||||
|
|
||||||
val episodes = mutableListOf<Episode>()
|
val episodes = mutableListOf<Episode>()
|
||||||
|
|
||||||
for (i in 1..5) {
|
for (i in 1..6) {
|
||||||
val doc = app.get("$url?page=$i").document
|
val doc = app.get("$url?page=$i").document
|
||||||
val eps = Jsoup.parse(doc.select("#episodeLists").attr("data-content")).select("a").mapNotNull {
|
val eps = Jsoup.parse(doc.select("#episodeLists").attr("data-content")).select("a").mapNotNull {
|
||||||
val name = it.text().trim()
|
val name = it.text().trim()
|
||||||
|
@ -173,9 +173,9 @@ class KuramanimeProvider : MainAPI() {
|
||||||
link,
|
link,
|
||||||
referer = "$mainUrl/",
|
referer = "$mainUrl/",
|
||||||
quality = quality ?: Qualities.Unknown.value,
|
quality = quality ?: Qualities.Unknown.value,
|
||||||
headers = mapOf(
|
// headers = mapOf(
|
||||||
"Range" to "bytes=0-"
|
// "Range" to "bytes=0-"
|
||||||
)
|
// )
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue