Some Fix
This commit is contained in:
@@ -164,7 +164,7 @@ internal class AsuraScansParser(context: MangaLoaderContext) :
|
||||
|
||||
override suspend fun getPages(chapter: MangaChapter): List<MangaPage> {
|
||||
val doc = webClient.httpGet(chapter.url.toAbsoluteUrl(domain)).parseHtml()
|
||||
return doc.select("div > img[alt=chapter]").map { img ->
|
||||
return doc.select("div > img[alt*=chapter]").map { img ->
|
||||
val urlPage = img.src()?.toRelativeUrl(domain) ?: img.parseFailed("Image src not found")
|
||||
MangaPage(
|
||||
id = generateUid(urlPage),
|
||||
|
||||
@@ -164,10 +164,12 @@ internal abstract class HeanCms(
|
||||
)
|
||||
}
|
||||
|
||||
protected open val selectPages = ".flex > img:not([alt])"
|
||||
|
||||
override suspend fun getPages(chapter: MangaChapter): List<MangaPage> {
|
||||
val fullUrl = chapter.url.toAbsoluteUrl(domain)
|
||||
val doc = webClient.httpGet(fullUrl).parseHtml()
|
||||
return doc.select(".flex > img:not([alt])").map { img ->
|
||||
return doc.select(selectPages).map { img ->
|
||||
val url = img.src() ?: img.parseFailed("Image src not found")
|
||||
MangaPage(
|
||||
id = generateUid(url),
|
||||
|
||||
@@ -10,4 +10,5 @@ internal class ReaperComics(context: MangaLoaderContext) :
|
||||
HeanCms(context, MangaParserSource.REAPERCOMICS, "reaperscans.com") {
|
||||
override val cdn = "media.reaperscans.com/file/4SRBHm//"
|
||||
override val paramsUpdated = "updated_at"
|
||||
override val selectPages = ".flex > img"
|
||||
}
|
||||
|
||||
@@ -7,4 +7,6 @@ import org.koitharu.kotatsu.parsers.site.iken.IkenParser
|
||||
|
||||
@MangaSourceParser("VORTEXSCANS", "VortexScans", "en")
|
||||
internal class VortexScans(context: MangaLoaderContext) :
|
||||
IkenParser(context, MangaParserSource.VORTEXSCANS, "vortexscans.org")
|
||||
IkenParser(context, MangaParserSource.VORTEXSCANS, "vortexscans.org") {
|
||||
override val selectPages = "main section img"
|
||||
}
|
||||
|
||||
@@ -1,16 +1,13 @@
|
||||
package org.koitharu.kotatsu.parsers.site.mangareader.pt
|
||||
package org.koitharu.kotatsu.parsers.site.madara.pt
|
||||
|
||||
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.mangareader.MangaReaderParser
|
||||
import org.koitharu.kotatsu.parsers.site.madara.MadaraParser
|
||||
|
||||
@MangaSourceParser("ANCIENTCOMICS", "AncientComics", "pt")
|
||||
internal class AncientComics(context: MangaLoaderContext) :
|
||||
MangaReaderParser(
|
||||
context,
|
||||
MangaParserSource.ANCIENTCOMICS,
|
||||
"ancientcomics.com.br",
|
||||
pageSize = 20,
|
||||
searchPageSize = 20,
|
||||
)
|
||||
MadaraParser(context, MangaParserSource.ANCIENTCOMICS, "ancientcomics.com.br") {
|
||||
override val datePattern: String = "dd/MM/yyyy"
|
||||
override val withoutAjax = true
|
||||
}
|
||||
@@ -7,8 +7,9 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser
|
||||
|
||||
@MangaSourceParser("HUNTERSSCAN", "HuntersScan", "pt")
|
||||
internal class HuntersScan(context: MangaLoaderContext) :
|
||||
MadaraParser(context, MangaParserSource.HUNTERSSCAN, "huntersscan.xyz", pageSize = 50) {
|
||||
MadaraParser(context, MangaParserSource.HUNTERSSCAN, "huntersscan.net", pageSize = 50) {
|
||||
override val withoutAjax = true
|
||||
override val datePattern = "MM/dd/yyyy"
|
||||
override val tagPrefix = "series-genre/"
|
||||
override val listUrl = "series/"
|
||||
}
|
||||
|
||||
@@ -7,8 +7,6 @@ import org.koitharu.kotatsu.parsers.model.MangaParserSource
|
||||
import org.koitharu.kotatsu.parsers.site.madara.MadaraParser
|
||||
|
||||
@Broken
|
||||
@MangaSourceParser("LUNARSCAN", "LunarScan.com.br", "pt")
|
||||
@MangaSourceParser("LUNARSCAN", "LunarrScan.com", "pt")
|
||||
internal class LunarScan(context: MangaLoaderContext) :
|
||||
MadaraParser(context, MangaParserSource.LUNARSCAN, "lunarscan.com.br") {
|
||||
override val listUrl = "obra/"
|
||||
}
|
||||
MadaraParser(context, MangaParserSource.LUNARSCAN, "lunarrscan.com")
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser
|
||||
//This source requires an account.
|
||||
@MangaSourceParser("GRIMELEK", "Grimelek", "tr")
|
||||
internal class Grimelek(context: MangaLoaderContext) :
|
||||
MadaraParser(context, MangaParserSource.GRIMELEK, "grimelek.mom", 20) {
|
||||
MadaraParser(context, MangaParserSource.GRIMELEK, "grimelek.me", 20) {
|
||||
override val datePattern = "d MMMM yyyy"
|
||||
override val listUrl = "seri/"
|
||||
}
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
package org.koitharu.kotatsu.parsers.site.mangareader.id
|
||||
|
||||
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.mangareader.MangaReaderParser
|
||||
|
||||
@Broken
|
||||
@MangaSourceParser("COMICASO", "Comicaso", "id")
|
||||
internal class Comicaso(context: MangaLoaderContext) :
|
||||
MangaReaderParser(context, MangaParserSource.COMICASO, "comicaso.com", pageSize = 20, searchPageSize = 10) {
|
||||
MangaReaderParser(context, MangaParserSource.COMICASO, "comicaso.org", pageSize = 20, searchPageSize = 10) {
|
||||
override val encodedSrc = true
|
||||
override val isTagsExclusionSupported = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user