parent
a493a38e6e
commit
4e8f7db34f
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Kagane'
|
extName = 'Kagane'
|
||||||
extClass = '.Kagane'
|
extClass = '.Kagane'
|
||||||
extVersionCode = 4
|
extVersionCode = 5
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -224,7 +224,7 @@ class Kagane : HttpSource(), ConfigurableSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun fetchPageList(chapter: SChapter): Observable<List<Page>> {
|
override fun fetchPageList(chapter: SChapter): Observable<List<Page>> {
|
||||||
if (chapter.url.count { it == ';' } == 2) throw Exception("Chapter url error, please refresh chapter list.")
|
if (chapter.url.count { it == ';' } != 2) throw Exception("Chapter url error, please refresh chapter list.")
|
||||||
var (seriesId, chapterId, pageCount) = chapter.url.split(";")
|
var (seriesId, chapterId, pageCount) = chapter.url.split(";")
|
||||||
|
|
||||||
val challengeResp = getChallengeResponse(seriesId, chapterId)
|
val challengeResp = getChallengeResponse(seriesId, chapterId)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user