Reformat
This commit is contained in:
@@ -19,7 +19,6 @@ internal class Komikcast(context: MangaLoaderContext) :
|
||||
override val datePattern = "MMM d, yyyy"
|
||||
override val sourceLocale: Locale = Locale.ENGLISH
|
||||
|
||||
|
||||
override suspend fun getListPage(
|
||||
page: Int,
|
||||
query: String?,
|
||||
@@ -94,8 +93,7 @@ internal class Komikcast(context: MangaLoaderContext) :
|
||||
}
|
||||
|
||||
override suspend fun parseInfo(docs: Document, manga: Manga, chapters: List<MangaChapter>): Manga {
|
||||
|
||||
/// set if is table
|
||||
// / set if is table
|
||||
|
||||
val tagMap = getOrCreateTagMap()
|
||||
|
||||
@@ -111,7 +109,6 @@ internal class Komikcast(context: MangaLoaderContext) :
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
val author = docs.selectFirst(".komik_info-content-meta span:contains(Author)")?.lastElementChild()?.text()
|
||||
|
||||
val nsfw =
|
||||
@@ -129,7 +126,6 @@ internal class Komikcast(context: MangaLoaderContext) :
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
override fun parseMangaList(docs: Document): List<Manga> {
|
||||
return docs.select("div.list-update_item").mapNotNull {
|
||||
val a = it.selectFirstOrThrow("a.data-tooltip")
|
||||
@@ -186,9 +182,7 @@ internal class Komikcast(context: MangaLoaderContext) :
|
||||
}
|
||||
|
||||
return pages
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private fun parseChapterDate(dateFormat: DateFormat, date: String?): Long {
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
package org.koitharu.kotatsu.parsers.site.mmrcms.fr
|
||||
|
||||
|
||||
import org.koitharu.kotatsu.parsers.MangaLoaderContext
|
||||
import org.koitharu.kotatsu.parsers.MangaSourceParser
|
||||
import org.koitharu.kotatsu.parsers.model.MangaSource
|
||||
import org.koitharu.kotatsu.parsers.site.mmrcms.MmrcmsParser
|
||||
import java.util.Locale
|
||||
|
||||
|
||||
@MangaSourceParser("JPMANGAS", "JpMangas", "fr")
|
||||
internal class JpMangas(context: MangaLoaderContext) :
|
||||
MmrcmsParser(context, MangaSource.JPMANGAS, "jpmangas.xyz") {
|
||||
|
||||
|
||||
override val sourceLocale: Locale = Locale.ENGLISH
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user