Initial commit
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 16 KiB |
BIN
multisrc/overrides/readallcomics/default/res/web_hi_res_512.png
Normal file
|
After Width: | Height: | Size: 101 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 101 KiB |
@@ -0,0 +1,25 @@
|
||||
package eu.kanade.tachiyomi.extension.en.readallcomicscom
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.readallcomics.ReadAllComics
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import org.jsoup.nodes.Element
|
||||
|
||||
class ReadAllComicsCom : ReadAllComics("ReadAllComics", "https://readallcomics.com", "en") {
|
||||
|
||||
override fun nullablePopularManga(element: Element): SManga? {
|
||||
return super.nullablePopularManga(element)?.apply {
|
||||
title = title.let {
|
||||
titleRegex.find(it)?.value?.trim()
|
||||
?.removeSuffix("v")?.trim()
|
||||
?.substringBeforeLast("vol")
|
||||
?: it
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun pageListSelector() = "body img:not(body div[id=\"logo\"] img)"
|
||||
|
||||
companion object {
|
||||
private val titleRegex = Regex("""^([a-zA-Z_.\s\-–:]*)""")
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 96 KiB |
@@ -0,0 +1,23 @@
|
||||
package eu.kanade.tachiyomi.extension.en.readallmanga
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.readallcomics.ReadAllComics
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import org.jsoup.nodes.Document
|
||||
|
||||
class ReadAllManga : ReadAllComics("ReadAllManga", "https://readallmanga.com", "en") {
|
||||
|
||||
override fun searchType() = "manga"
|
||||
|
||||
override fun popularMangaTitleSelector() = "div > center"
|
||||
|
||||
override fun mangaDetailsParse(document: Document): SManga {
|
||||
return super.mangaDetailsParse(document).apply {
|
||||
genre = document.select(mangaDetailsGenreSelector()).text()
|
||||
.split("–").joinToString { it.trim() }
|
||||
}
|
||||
}
|
||||
|
||||
override fun mangaDetailsDescriptionSelector() = ".b > span"
|
||||
override fun mangaDetailsGenreSelector() = ".b > p > strong:nth-child(8)"
|
||||
override fun mangaDetailsAuthorSelector() = ".b > p > strong:nth-child(5)"
|
||||
}
|
||||