Formatting fixes
This commit is contained in:
parent
143f6cc3c9
commit
d8f3813906
|
@ -5,7 +5,6 @@ import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
class ARESManga : WPMangaReader("ARESManga", "https://aresmanga.com", "ar", dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("ar"))) {
|
class ARESManga : WPMangaReader("ARESManga", "https://aresmanga.com", "ar", dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("ar"))) {
|
||||||
// The scanlator changed their name.
|
// The scanlator changed their name.
|
||||||
override val id: Long = 230017529540228175
|
override val id: Long = 230017529540228175
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -812,7 +812,7 @@ abstract class Madara(
|
||||||
// Added "title" alternative
|
// Added "title" alternative
|
||||||
chapter.date_upload = select("img:not(.thumb)").firstOrNull()?.attr("alt")?.let { parseRelativeDate(it) }
|
chapter.date_upload = select("img:not(.thumb)").firstOrNull()?.attr("alt")?.let { parseRelativeDate(it) }
|
||||||
?: select("span a").firstOrNull()?.attr("title")?.let { parseRelativeDate(it) }
|
?: select("span a").firstOrNull()?.attr("title")?.let { parseRelativeDate(it) }
|
||||||
?: parseChapterDate(select(chapterDateSelector()).firstOrNull()?.text())
|
?: parseChapterDate(select(chapterDateSelector()).firstOrNull()?.text())
|
||||||
}
|
}
|
||||||
|
|
||||||
return chapter
|
return chapter
|
||||||
|
|
|
@ -482,8 +482,8 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("مانجا عرب تيم Manga Arab Team", "https://mangaarbteam.com", "ar", className = "MangaArabTeam", overrideVersionCode = 1),
|
SingleLang("مانجا عرب تيم Manga Arab Team", "https://mangaarbteam.com", "ar", className = "MangaArabTeam", overrideVersionCode = 1),
|
||||||
SingleLang("مانجا ليك", "https://mangalek.com", "ar", className = "Mangalek", overrideVersionCode = 1),
|
SingleLang("مانجا ليك", "https://mangalek.com", "ar", className = "Mangalek", overrideVersionCode = 1),
|
||||||
SingleLang("مانجا لينك", "https://mangalink.io", "ar", className = "MangaLinkio", overrideVersionCode = 2),
|
SingleLang("مانجا لينك", "https://mangalink.io", "ar", className = "MangaLinkio", overrideVersionCode = 2),
|
||||||
SingleLang("Ragnarok Scanlation", "https://ragnarokscanlation.com", "es", className = "RagnarokScanlation"),
|
SingleLang("Ragnarok Scanlation", "https://ragnarokscanlation.com", "es", className = "RagnarokScanlation"),
|
||||||
)
|
)
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
|
|
|
@ -77,7 +77,7 @@ abstract class SinMH(
|
||||||
author = document.select(".detail-list strong:contains(作者) + a").text()
|
author = document.select(".detail-list strong:contains(作者) + a").text()
|
||||||
description = document.select("#intro-all").text().trim()
|
description = document.select("#intro-all").text().trim()
|
||||||
.removePrefix("漫画简介:").trim()
|
.removePrefix("漫画简介:").trim()
|
||||||
.removePrefix("漫画简介:").trim() // some sources have double prefix
|
.removePrefix("漫画简介:").trim() // some sources have double prefix
|
||||||
genre = document.select(".detail-list strong:contains(类型) + a").text() + ", " +
|
genre = document.select(".detail-list strong:contains(类型) + a").text() + ", " +
|
||||||
document.select(".breadcrumb-bar a[href*=/list/]").joinToString(", ") { it.text() }
|
document.select(".breadcrumb-bar a[href*=/list/]").joinToString(", ") { it.text() }
|
||||||
status = when (document.select(".detail-list strong:contains(状态) + a").text()) {
|
status = when (document.select(".detail-list strong:contains(状态) + a").text()) {
|
||||||
|
|
|
@ -54,7 +54,7 @@ class WPMangaReaderGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("TurkToon", "https://turktoon.com", "tr"),
|
SingleLang("TurkToon", "https://turktoon.com", "tr"),
|
||||||
SingleLang("World Romance Translation", "https://wrt.my.id", "id", overrideVersionCode = 7),
|
SingleLang("World Romance Translation", "https://wrt.my.id", "id", overrideVersionCode = 7),
|
||||||
SingleLang("YANP Fansub", "https://melhorcasal.com", "pt-BR", isNsfw = true, overrideVersionCode = 1),
|
SingleLang("YANP Fansub", "https://melhorcasal.com", "pt-BR", isNsfw = true, overrideVersionCode = 1),
|
||||||
SingleLang("ARESManga", "https://aresmanga.com", "ar", pkgName = "iimanga" ,overrideVersionCode = 2),
|
SingleLang("ARESManga", "https://aresmanga.com", "ar", pkgName = "iimanga", overrideVersionCode = 2),
|
||||||
)
|
)
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|
Loading…
Reference in New Issue