fixed Kuramanime

This commit is contained in:
hexated 2023-01-23 16:36:47 +07:00
parent 93df7ea25f
commit 43beb98165

View file

@ -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-"
) // )
) )
) )
} }