Some Fix
This commit is contained in:
@@ -140,14 +140,15 @@ internal class AsuraScansParser(context: MangaLoaderContext) :
|
||||
description = doc.selectFirst("span.font-medium.text-sm")?.text().orEmpty(),
|
||||
tags = tags,
|
||||
author = doc.selectFirst("div.grid > div:has(h3:eq(0):containsOwn(Author)) > h3:eq(1)")?.text(),
|
||||
chapters = doc.select("div.scrollbar-thumb-themecolor > a.block").mapChapters(reversed = true) { i, a ->
|
||||
chapters = doc.select("div.scrollbar-thumb-themecolor > div.group").mapChapters(reversed = true) { i, div ->
|
||||
val a = div.selectLastOrThrow("a")
|
||||
val urlRelative = "/series/" + a.attrAsRelativeUrl("href")
|
||||
val url = urlRelative.toAbsoluteUrl(domain)
|
||||
val date = a.selectFirst("h3:eq(1)")!!.ownText()
|
||||
val date = div.selectFirst("h3:eq(1)")!!.ownText()
|
||||
val cleanDate = date.replace(regexDate, "$1")
|
||||
MangaChapter(
|
||||
id = generateUid(url),
|
||||
name = a.selectFirstOrThrow("h3:eq(0)").text(),
|
||||
name = div.selectFirstOrThrow("h3:eq(0)").text(),
|
||||
number = i + 1f,
|
||||
volume = 0,
|
||||
url = url,
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
package org.koitharu.kotatsu.parsers.site.madara.ar
|
||||
|
||||
import org.koitharu.kotatsu.parsers.Broken
|
||||
import org.koitharu.kotatsu.parsers.MangaLoaderContext
|
||||
import org.koitharu.kotatsu.parsers.MangaSourceParser
|
||||
import org.koitharu.kotatsu.parsers.model.MangaParserSource
|
||||
import org.koitharu.kotatsu.parsers.site.madara.MadaraParser
|
||||
|
||||
@Broken
|
||||
@MangaSourceParser("NOVELSTOWN", "NovelsTown", "ar")
|
||||
internal class Novelstown(context: MangaLoaderContext) :
|
||||
MadaraParser(context, MangaParserSource.NOVELSTOWN, "novelstown.com") {
|
||||
|
||||
@@ -5,8 +5,9 @@ import org.koitharu.kotatsu.parsers.MangaSourceParser
|
||||
import org.koitharu.kotatsu.parsers.model.MangaParserSource
|
||||
import org.koitharu.kotatsu.parsers.site.mangareader.MangaReaderParser
|
||||
|
||||
// Redirect to luacomic.com
|
||||
@MangaSourceParser("KAISCANS", "KaiScans", "en")
|
||||
internal class KaiScans(context: MangaLoaderContext) :
|
||||
MangaReaderParser(context, MangaParserSource.KAISCANS, "kaiscans.org", pageSize = 20, searchPageSize = 10) {
|
||||
MangaReaderParser(context, MangaParserSource.KAISCANS, "luacomic.com", pageSize = 20, searchPageSize = 10) {
|
||||
override val isTagsExclusionSupported = false
|
||||
}
|
||||
|
||||
@@ -7,6 +7,6 @@ import org.koitharu.kotatsu.parsers.site.mangareader.MangaReaderParser
|
||||
|
||||
@MangaSourceParser("LUASCANS", "LuaScans", "en")
|
||||
internal class LuaScans(context: MangaLoaderContext) :
|
||||
MangaReaderParser(context, MangaParserSource.LUASCANS, "luacomic.net", pageSize = 20, searchPageSize = 10) {
|
||||
MangaReaderParser(context, MangaParserSource.LUASCANS, "luacomic.com", pageSize = 20, searchPageSize = 10) {
|
||||
override val isTagsExclusionSupported = false
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import org.koitharu.kotatsu.parsers.MangaSourceParser
|
||||
import org.koitharu.kotatsu.parsers.model.MangaParserSource
|
||||
import org.koitharu.kotatsu.parsers.site.mangareader.MangaReaderParser
|
||||
|
||||
@MangaSourceParser("VOIDSCANS", "VoidScans", "en")
|
||||
@MangaSourceParser("VOIDSCANS", "HiveToon", "en")
|
||||
internal class VoidScans(context: MangaLoaderContext) :
|
||||
MangaReaderParser(context, MangaParserSource.VOIDSCANS, "hivetoon.com", pageSize = 150, searchPageSize = 150) {
|
||||
override val datePattern = "MMM d, yyyy"
|
||||
|
||||
@@ -128,7 +128,7 @@ internal abstract class WpComicsParser(
|
||||
append("https://")
|
||||
append(domain)
|
||||
append(listUrl)
|
||||
append("?genres=¬genres=&gender=-1&status=-1&minchapter=1&sort=0&page=")
|
||||
append("?sort=0&status=-1&page=")
|
||||
append(page.toString())
|
||||
}
|
||||
webClient.httpGet(url)
|
||||
|
||||
Reference in New Issue
Block a user