Move annotations and Duktape stub into core module
This commit is contained in:
@ -63,7 +63,7 @@ private class ManhuaES : WPComics("Manhua ES", "https://manhuaes.com", "en", Sim
|
||||
val showMoreFake = info.select(".detail-content .content-readmore").text()
|
||||
val showMore = info.select(".detail-content .morelink").text()
|
||||
val rawDesc = info.select("div.detail-content").text()
|
||||
|
||||
|
||||
if (showMoreFake == null || showMoreFake == "") {
|
||||
description = rawDesc.substringAfter(h3).substringAfter(strong).substringBefore(showMore)
|
||||
} else {
|
||||
|
@ -10,11 +10,11 @@ import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import eu.kanade.tachiyomi.source.online.HttpSource
|
||||
import eu.kanade.tachiyomi.util.asJsoup
|
||||
import java.util.Calendar
|
||||
import okhttp3.OkHttpClient
|
||||
import okhttp3.Request
|
||||
import okhttp3.Response
|
||||
import rx.Observable
|
||||
import java.util.Calendar
|
||||
|
||||
@Nsfw
|
||||
class Latisbooks : HttpSource() {
|
||||
|
@ -225,5 +225,4 @@ class Scantrad : ParsedHttpSource() {
|
||||
override fun imageUrlParse(document: Document) = throw UnsupportedOperationException("Not used")
|
||||
|
||||
override fun getFilterList() = FilterList()
|
||||
|
||||
}
|
||||
|
@ -106,12 +106,14 @@ open class NewToki(override val name: String, private val defaultBaseUrl: String
|
||||
val fullListButton = document.select(".comic-navbar .toon-nav a").last()
|
||||
|
||||
val list: List<SManga> = if (firstChapterButton?.text()?.contains("첫회보기")
|
||||
?: false) { // Check this page is detail page
|
||||
?: false
|
||||
) { // Check this page is detail page
|
||||
val details = mangaDetailsParse(document)
|
||||
details.url = urlPath
|
||||
listOf(details)
|
||||
} else if (fullListButton?.text()?.contains("전체목록")
|
||||
?: false) { // Check this page is chapter page
|
||||
?: false
|
||||
) { // Check this page is chapter page
|
||||
val url = fullListButton.attr("abs:href")
|
||||
val details = mangaDetailsParse(client.newCall(GET(url)).execute())
|
||||
details.url = getUrlPath(url)
|
||||
|
Reference in New Issue
Block a user