Lint fixes
This commit is contained in:
parent
9fe99e58cb
commit
71c20924e8
|
@ -132,7 +132,7 @@ class Mangafreak : ParsedHttpSource() {
|
|||
}
|
||||
|
||||
override fun imageUrlParse(document: Document): String {
|
||||
return throw Exception("Not Used")
|
||||
throw Exception("Not Used")
|
||||
}
|
||||
|
||||
// Filter
|
||||
|
|
|
@ -2,21 +2,13 @@ package eu.kanade.tachiyomi.extension.id.mangakita
|
|||
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.source.model.FilterList
|
||||
import eu.kanade.tachiyomi.source.model.MangasPage
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import eu.kanade.tachiyomi.source.online.ParsedHttpSource
|
||||
import eu.kanade.tachiyomi.util.asJsoup
|
||||
import okhttp3.OkHttpClient
|
||||
import okhttp3.Request
|
||||
import okhttp3.Response
|
||||
import org.jsoup.nodes.Document
|
||||
import org.jsoup.nodes.Element
|
||||
import org.jsoup.select.Elements
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Calendar
|
||||
import java.util.Locale
|
||||
|
||||
class MangaKita : ParsedHttpSource() {
|
||||
override val name = "MangaKita"
|
||||
|
|
|
@ -100,9 +100,9 @@ class HanhanKuman : ParsedHttpSource() {
|
|||
|
||||
val re = Regex(""".*\/(.*?)\/\d+\.html\?s=(\d+)""")
|
||||
|
||||
val matches = re.find(url)?.groups
|
||||
val pathId = matches!!.get(1)!!.value
|
||||
val pathS = matches!!.get(2)!!.value
|
||||
val matches = re.find(url)?.groups!!
|
||||
val pathId = matches[1]!!.value
|
||||
val pathS = matches[2]!!.value
|
||||
|
||||
return pageListParse(response.asJsoup(), pathId, pathS)
|
||||
}
|
||||
|
|
|
@ -168,7 +168,7 @@ class Kuaikanmanhua : ParsedHttpSource() {
|
|||
|
||||
override fun pageListRequest(chapter: SChapter): Request {
|
||||
if (chapter.url == "javascript:void(0);") {
|
||||
return throw Exception("[此章节为付费内容]")
|
||||
throw Exception("[此章节为付费内容]")
|
||||
}
|
||||
return super.pageListRequest(chapter)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue