Add new sources to Madara and remove MonoManga (#17677)
* Add new sources to Madara * Lint * Remove MonoManga * Add MonoManga to REMOVED_SOURCES.md and issue_moderator.yml
2
.github/workflows/issue_moderator.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
||||
},
|
||||
{
|
||||
"type": "both",
|
||||
"regex": ".*(komiktap|gourmet\\s*scans|mangawow|hikari\\s*scans|knightnoscanlations|mangasy|nartag|xxx\\s*yaoi|luminous|hunters\\s*scan|reset(?:\\s*|-)scan|astra\\s*scans|manga(?:-|\\s*)pro|shinobiscans|plot ?twist ?no ?fansub(?: ?scans?)?|plot-twistnf-scans(?:\\.com)?|mhscans|aresmanga|realm ?scans?).*",
|
||||
"regex": ".*(komiktap|gourmet\\s*scans|mangawow|hikari\\s*scans|knightnoscanlations|mangasy|nartag|xxx\\s*yaoi|luminous|hunters\\s*scan|reset(?:\\s*|-)scan|astra\\s*scans|manga(?:-|\\s*)pro|shinobiscans|plot ?twist ?no ?fansub(?: ?scans?)?|plot-twistnf-scans(?:\\.com)?|mhscans|aresmanga|realm ?scans?|mono ?manga).*",
|
||||
"ignoreCase": true,
|
||||
"labels": ["invalid"],
|
||||
"message": "{match} will not be added back as the scanlator team has requested it to be removed. Read [this](https://github.com/tachiyomiorg/tachiyomi-extensions/blob/master/REMOVED_SOURCES.md) for more information."
|
||||
|
@ -50,6 +50,7 @@ Here is a list of known sources that were removed.
|
||||
- MangaSY https://github.com/tachiyomiorg/tachiyomi-extensions/issues/12007
|
||||
- Mangawow https://github.com/tachiyomiorg/tachiyomi-extensions/issues/5367
|
||||
- MHScans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/15319
|
||||
- Mono Manga https://github.com/tachiyomiorg/tachiyomi-extensions/issues/17634
|
||||
- NarTag https://github.com/tachiyomiorg/tachiyomi-extensions/issues/8038
|
||||
- Plot-twistnf-scans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/4242
|
||||
- Realm Scans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/15586
|
||||
|
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 58 KiB |
@ -1,16 +0,0 @@
|
||||
package eu.kanade.tachiyomi.extension.tr.monomanga
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class MonoManga : Madara(
|
||||
"Mono Manga",
|
||||
"https://monomanga.com",
|
||||
"tr",
|
||||
dateFormat = SimpleDateFormat("d MMM yyyy", Locale("tr")),
|
||||
) {
|
||||
override val useNewChapterEndpoint = false
|
||||
|
||||
override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/"
|
||||
}
|
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 31 KiB |
BIN
multisrc/overrides/madara/templescanesp/res/web_hi_res_512.png
Normal file
After Width: | Height: | Size: 205 KiB |
42
multisrc/overrides/madara/templescanesp/src/TempleScanEsp.kt
Normal file
@ -0,0 +1,42 @@
|
||||
package eu.kanade.tachiyomi.extension.es.templescanesp
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import org.jsoup.nodes.Element
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class TempleScanEsp : Madara(
|
||||
"TempleScan",
|
||||
"https://templescanesp.com",
|
||||
"es",
|
||||
SimpleDateFormat("dd.MM.yyyy", Locale("es")),
|
||||
) {
|
||||
override val mangaSubString = "series"
|
||||
|
||||
override fun popularMangaSelector() = "div.tab-content-wrap div.loopcont > div"
|
||||
override val popularMangaUrlSelector = "div#series-card a.series-link"
|
||||
|
||||
override val mangaDetailsSelectorAuthor = "div.post-content_item:contains(Autor) div.summary-content"
|
||||
override val mangaDetailsSelectorArtist = "div.post-content_item:contains(Artista) div.summary-content"
|
||||
override val mangaDetailsSelectorStatus = "div.post-content_item:contains(Estado) div.summary-content"
|
||||
|
||||
override fun chapterFromElement(element: Element): SChapter {
|
||||
val chapter = SChapter.create()
|
||||
|
||||
with(element) {
|
||||
select(chapterUrlSelector).first()?.let { urlElement ->
|
||||
chapter.url = urlElement.attr("abs:href").let {
|
||||
it.substringBefore("?style=paged") + if (!it.endsWith(chapterUrlSuffix)) chapterUrlSuffix else ""
|
||||
}
|
||||
chapter.name = urlElement.select("p").text()
|
||||
}
|
||||
|
||||
chapter.date_upload = select("img:not(.thumb)").firstOrNull()?.attr("alt")?.let { parseRelativeDate(it) }
|
||||
?: select("span a").firstOrNull()?.attr("title")?.let { parseRelativeDate(it) }
|
||||
?: parseChapterDate(select(chapterDateSelector()).firstOrNull()?.text())
|
||||
}
|
||||
|
||||
return chapter
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 91 KiB |
@ -0,0 +1,14 @@
|
||||
package eu.kanade.tachiyomi.extension.es.traduccionesmoonlight
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class TraduccionesMoonlight : Madara(
|
||||
"Traducciones Moonlight",
|
||||
"https://traduccionesmoonlight.com",
|
||||
"es",
|
||||
SimpleDateFormat("dd 'de' MMMM 'de' yyyy", Locale("es")),
|
||||
) {
|
||||
override val useNewChapterEndpoint = true
|
||||
}
|
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 18 KiB |
BIN
multisrc/overrides/madara/unitoonoficial/res/web_hi_res_512.png
Normal file
After Width: | Height: | Size: 97 KiB |
@ -0,0 +1,14 @@
|
||||
package eu.kanade.tachiyomi.extension.es.unitoonoficial
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class UnitoonOficial : Madara(
|
||||
"Unitoon Oficial",
|
||||
"https://unitoonoficial.com",
|
||||
"es",
|
||||
SimpleDateFormat("dd/MM/yyyy", Locale("es")),
|
||||
) {
|
||||
override val useNewChapterEndpoint = true
|
||||
}
|
@ -381,7 +381,6 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||
SingleLang("MMScans", "https://mm-scans.org", "en", overrideVersionCode = 7),
|
||||
SingleLang("Momo no Hana Scan", "https://momonohanascan.com", "pt-BR", className = "MomoNoHanaScan", overrideVersionCode = 1),
|
||||
SingleLang("MonarcaManga", "https://monarcamanga.com", "es"),
|
||||
SingleLang("Mono Manga", "https://monomanga.com", "tr", isNsfw = false),
|
||||
SingleLang("Moon Witch In Love", "https://moonwitchinlovescan.com", "pt-BR"),
|
||||
SingleLang("MoonLovers Scan", "https://moonloversscan.com.br", "pt-BR", isNsfw = true),
|
||||
SingleLang("Mortals Groove", "https://mortalsgroove.com", "en", overrideVersionCode = 1),
|
||||
@ -485,6 +484,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||
SingleLang("Taurus Fansub", "https://taurusfansub.com", "es"),
|
||||
SingleLang("Tecno Scan", "https://tecnoscann.com", "es"),
|
||||
SingleLang("TeenManhua", "https://teenmanhua.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("TempleScan", "https://templescanesp.com", "es", isNsfw = true, className = "TempleScanEsp"),
|
||||
SingleLang("The Beginning After The End", "https://www.thebeginningaftertheend.fr", "fr", overrideVersionCode = 1),
|
||||
SingleLang("The Guild", "https://theguildscans.com", "en"),
|
||||
SingleLang("The Sugar", "https://thesugarscan.com", "pt-BR"),
|
||||
@ -500,6 +500,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||
SingleLang("ToonMany", "https://toonmany.com", "en", isNsfw = true),
|
||||
SingleLang("Top Manhua", "https://topmanhua.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("Tortuga Ceviri", "https://tortuga-ceviri.com", "tr"),
|
||||
SingleLang("Traducciones Moonlight", "https://traduccionesmoonlight.com", "es"),
|
||||
SingleLang("Trap Scans", "https://trapscans.com", "en"),
|
||||
SingleLang("TreeManga", "https://treemanga.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("TritiniaScans", "https://tritinia.org", "en", overrideVersionCode = 4),
|
||||
@ -507,6 +508,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||
SingleLang("Tumangaonline.site", "https://tumangaonline.site", "es", isNsfw = true, className = "TumangaonlineSite", pkgName = "tumangaonlinesite"),
|
||||
SingleLang("Türkçe Manga", "https://turkcemanga.com", "tr", className = "TurkceManga", overrideVersionCode = 2),
|
||||
SingleLang("Unitoon", "https://lectorunitoon.com", "es"),
|
||||
SingleLang("Unitoon Oficial", "https://unitoonoficial.com", "es"),
|
||||
SingleLang("Valkyrie Scan", "https://valkyriescan.com", "pt-BR", isNsfw = true),
|
||||
SingleLang("Ver Manhwas", "https://vermanhwa.es", "es", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("VinManga", "https://vinload.com", "en", isNsfw = true),
|
||||
|