fix(de/kiste): Fix episode list (#2465)
This commit is contained in:
@ -8,7 +8,7 @@ ext {
|
|||||||
extName = 'Kiste'
|
extName = 'Kiste'
|
||||||
pkgNameSuffix = 'de.kiste'
|
pkgNameSuffix = 'de.kiste'
|
||||||
extClass = '.Kiste'
|
extClass = '.Kiste'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
libVersion = '13'
|
libVersion = '13'
|
||||||
containsNsfw = true
|
containsNsfw = true
|
||||||
}
|
}
|
||||||
|
@ -21,6 +21,7 @@ import org.jsoup.nodes.Document
|
|||||||
import org.jsoup.nodes.Element
|
import org.jsoup.nodes.Element
|
||||||
import rx.Observable
|
import rx.Observable
|
||||||
import uy.kohesive.injekt.injectLazy
|
import uy.kohesive.injekt.injectLazy
|
||||||
|
import java.net.URLEncoder
|
||||||
import javax.crypto.Cipher
|
import javax.crypto.Cipher
|
||||||
import javax.crypto.spec.SecretKeySpec
|
import javax.crypto.spec.SecretKeySpec
|
||||||
|
|
||||||
@ -114,7 +115,7 @@ class Kiste : ParsedAnimeHttpSource() {
|
|||||||
|
|
||||||
override fun fetchEpisodeList(anime: SAnime): Observable<List<SEpisode>> {
|
override fun fetchEpisodeList(anime: SAnime): Observable<List<SEpisode>> {
|
||||||
val slug = anime.url.substringAfterLast("/")
|
val slug = anime.url.substringAfterLast("/")
|
||||||
val vrf = encryptRC4(slug)
|
val vrf = URLEncoder.encode(encryptRC4(slug).trimEnd(), "utf-8")
|
||||||
val newDoc = client.newCall(GET("$baseUrl/ajax/film/servers.php?id=$slug&vrf=$vrf&episode=1-1&token="))
|
val newDoc = client.newCall(GET("$baseUrl/ajax/film/servers.php?id=$slug&vrf=$vrf&episode=1-1&token="))
|
||||||
.execute()
|
.execute()
|
||||||
.use { json.decodeFromString<HtmlData>(it.body.string()).html }
|
.use { json.decodeFromString<HtmlData>(it.body.string()).html }
|
||||||
|
Reference in New Issue
Block a user