Add two new sources to Madara. (#7832)
This commit is contained in:
parent
dcdc43b984
commit
619f9986a6
37
multisrc/overrides/madara/limascans/src/LimaScans.kt
Normal file
37
multisrc/overrides/madara/limascans/src/LimaScans.kt
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
package eu.kanade.tachiyomi.extension.pt.limascans
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||||
|
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.GET
|
||||||
|
import eu.kanade.tachiyomi.source.model.SManga
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import okhttp3.Request
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
@Nsfw
|
||||||
|
class LimaScans : Madara(
|
||||||
|
"Lima Scans",
|
||||||
|
"http://limascans.xyz/v2",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR"))
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val altName: String = "Nome alternativo: "
|
||||||
|
|
||||||
|
override fun popularMangaSelector() = "div.page-item-detail.manga"
|
||||||
|
|
||||||
|
override fun mangaDetailsRequest(manga: SManga): Request {
|
||||||
|
return GET(baseUrl + manga.url.removePrefix("/v2"), headers)
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun chapterListRequest(manga: SManga): Request {
|
||||||
|
return GET(baseUrl + manga.url.removePrefix("/v2"), headers)
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
BIN
multisrc/overrides/madara/moonwitchinlove/res/web_hi_res_512.png
Normal file
BIN
multisrc/overrides/madara/moonwitchinlove/res/web_hi_res_512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 203 KiB |
@ -0,0 +1,24 @@
|
|||||||
|
package eu.kanade.tachiyomi.extension.pt.moonwitchinlove
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
class MoonWitchInLove : Madara(
|
||||||
|
"Moon Witch In Love",
|
||||||
|
"https://moonwitchinlove.com",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val altName: String = "Nome alternativo: "
|
||||||
|
|
||||||
|
override fun popularMangaSelector() = "div.page-item-detail.manga"
|
||||||
|
}
|
@ -108,6 +108,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||||||
SingleLang("Levelerscans", "https://levelerscans.xyz", "en", overrideVersionCode = 1),
|
SingleLang("Levelerscans", "https://levelerscans.xyz", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Leviatan Scans X", "https://xxx.leviatanscans.com", "en", isNsfw = true),
|
SingleLang("Leviatan Scans X", "https://xxx.leviatanscans.com", "en", isNsfw = true),
|
||||||
SingleLang("Lily Manga", "https://lilymanga.com", "en"),
|
SingleLang("Lily Manga", "https://lilymanga.com", "en"),
|
||||||
|
SingleLang("Lima Scans", "http://limascans.xyz/v2", "pt-BR", isNsfw = true),
|
||||||
SingleLang("Little Monster Scan", "https://littlemonsterscan.com.br", "pt-BR", overrideVersionCode = 2),
|
SingleLang("Little Monster Scan", "https://littlemonsterscan.com.br", "pt-BR", overrideVersionCode = 2),
|
||||||
SingleLang("LovableSubs", "https://lovablesubs.com", "tr"),
|
SingleLang("LovableSubs", "https://lovablesubs.com", "tr"),
|
||||||
SingleLang("MG Komik", "https://mgkomik.com", "id", overrideVersionCode = 2),
|
SingleLang("MG Komik", "https://mgkomik.com", "id", overrideVersionCode = 2),
|
||||||
@ -208,6 +209,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||||||
SingleLang("Milftoon", "https://milftoon.xxx", "en", isNsfw = true, overrideVersionCode = 2),
|
SingleLang("Milftoon", "https://milftoon.xxx", "en", isNsfw = true, overrideVersionCode = 2),
|
||||||
SingleLang("Mixed Manga", "https://mixedmanga.com", "en", overrideVersionCode = 1),
|
SingleLang("Mixed Manga", "https://mixedmanga.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Mode Scanlator", "https://modescanlator.com", "pt-BR", overrideVersionCode = 1),
|
SingleLang("Mode Scanlator", "https://modescanlator.com", "pt-BR", overrideVersionCode = 1),
|
||||||
|
SingleLang("Moon Witch In Love", "https://moonwitchinlove.com", "pt-BR"),
|
||||||
SingleLang("Mortals Groove", "https://mortalsgroove.com", "en"),
|
SingleLang("Mortals Groove", "https://mortalsgroove.com", "en"),
|
||||||
SingleLang("Mystical Merries", "https://mysticalmerries.com", "en", overrideVersionCode = 1),
|
SingleLang("Mystical Merries", "https://mysticalmerries.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("NeatManga", "https://neatmanga.com", "en", overrideVersionCode = 1),
|
SingleLang("NeatManga", "https://neatmanga.com", "en", overrideVersionCode = 1),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user