Add three sources to Madara (#16840)
* Add two new sources to Madara. * Add another source to Madara.
This commit is contained in:
parent
c504a2ae84
commit
d8bfdfe7d9
22
multisrc/overrides/madara/leryaoi/src/LerYaoi.kt
Normal file
22
multisrc/overrides/madara/leryaoi/src/LerYaoi.kt
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
package eu.kanade.tachiyomi.extension.pt.leryaoi
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
class LerYaoi : Madara(
|
||||||
|
"Ler Yaoi",
|
||||||
|
"https://leryaoi.com",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")),
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val mangaSubString = "bl"
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
package eu.kanade.tachiyomi.extension.pt.pinkseaunicorn
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
class PinkSeaUnicorn : Madara(
|
||||||
|
"Pink Sea Unicorn",
|
||||||
|
"https://psunicorn.com",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
}
|
22
multisrc/overrides/madara/tankouhentai/src/TankouHentai.kt
Normal file
22
multisrc/overrides/madara/tankouhentai/src/TankouHentai.kt
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
package eu.kanade.tachiyomi.extension.pt.tankouhentai
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
class TankouHentai : Madara(
|
||||||
|
"Tankou Hentai",
|
||||||
|
"https://tankouhentai.com",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("dd 'de' MMMMM 'de' YYYY", Locale("pt", "BR")),
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
}
|
@ -173,6 +173,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||||||
SingleLang("Lala Manga", "https://lalamanga.com", "en", isNsfw = true),
|
SingleLang("Lala Manga", "https://lalamanga.com", "en", isNsfw = true),
|
||||||
SingleLang("Lara Manga", "https://laramanga.love", "en", overrideVersionCode = 1),
|
SingleLang("Lara Manga", "https://laramanga.love", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Legion Scan", "https://legionscans.com", "es"),
|
SingleLang("Legion Scan", "https://legionscans.com", "es"),
|
||||||
|
SingleLang("Ler Yaoi", "https://leryaoi.com", "pt-BR", isNsfw = true),
|
||||||
SingleLang("LHTranslation", "https://lhtranslation.net", "en", overrideVersionCode = 1),
|
SingleLang("LHTranslation", "https://lhtranslation.net", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Lily Manga", "https://lilymanga.net", "en", isNsfw = true, overrideVersionCode = 3),
|
SingleLang("Lily Manga", "https://lilymanga.net", "en", isNsfw = true, overrideVersionCode = 3),
|
||||||
SingleLang("Lima Scans", "http://limascans.xyz/v2", "pt-BR", isNsfw = true, overrideVersionCode = 2),
|
SingleLang("Lima Scans", "http://limascans.xyz/v2", "pt-BR", isNsfw = true, overrideVersionCode = 2),
|
||||||
@ -333,6 +334,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||||||
SingleLang("Petrotechsociety", "https://www.petrotechsociety.org", "en", isNsfw = true),
|
SingleLang("Petrotechsociety", "https://www.petrotechsociety.org", "en", isNsfw = true),
|
||||||
SingleLang("Phoenix Fansub", "https://phoenixmangas.com", "es"),
|
SingleLang("Phoenix Fansub", "https://phoenixmangas.com", "es"),
|
||||||
SingleLang("Pian Manga", "https://pianmanga.me", "en", isNsfw = true, overrideVersionCode = 1),
|
SingleLang("Pian Manga", "https://pianmanga.me", "en", isNsfw = true, overrideVersionCode = 1),
|
||||||
|
SingleLang("Pink Sea Unicorn", "https://psunicorn.com", "pt-BR", isNsfw = true),
|
||||||
SingleLang("Pirulito Rosa", "https://pirulitorosa.site", "pt-BR", isNsfw = true),
|
SingleLang("Pirulito Rosa", "https://pirulitorosa.site", "pt-BR", isNsfw = true),
|
||||||
SingleLang("Platinum Crown", "https://platinumscans.com", "en", overrideVersionCode = 1),
|
SingleLang("Platinum Crown", "https://platinumscans.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Pojok Manga", "https://pojokmanga.net", "id", overrideVersionCode = 4),
|
SingleLang("Pojok Manga", "https://pojokmanga.net", "id", overrideVersionCode = 4),
|
||||||
@ -391,6 +393,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||||||
SingleLang("Sunshine Butterfly Scans", "https://sunshinebutterflyscan.com", "en", isNsfw = true, overrideVersionCode = 1),
|
SingleLang("Sunshine Butterfly Scans", "https://sunshinebutterflyscan.com", "en", isNsfw = true, overrideVersionCode = 1),
|
||||||
SingleLang("Sweet Desire Scan", "https://sweetdesire.com.br", "pt-BR", isNsfw = true),
|
SingleLang("Sweet Desire Scan", "https://sweetdesire.com.br", "pt-BR", isNsfw = true),
|
||||||
SingleLang("Sweet Time Scan", "https://sweetscan.net", "pt-BR", overrideVersionCode = 2),
|
SingleLang("Sweet Time Scan", "https://sweetscan.net", "pt-BR", overrideVersionCode = 2),
|
||||||
|
SingleLang("Tankou Hentai", "https://tankouhentai.com", "pt-BR", isNsfw = true),
|
||||||
SingleLang("TappyToon.Net", "https://tappytoon.net", "en", className = "Tappytoonnet"),
|
SingleLang("TappyToon.Net", "https://tappytoon.net", "en", className = "Tappytoonnet"),
|
||||||
SingleLang("Tatakae Scan", "https://tatakaescan.com", "pt-BR", isNsfw = true, overrideVersionCode = 2),
|
SingleLang("Tatakae Scan", "https://tatakaescan.com", "pt-BR", isNsfw = true, overrideVersionCode = 2),
|
||||||
SingleLang("Taurus Fansub", "https://taurusfansub.com", "es"),
|
SingleLang("Taurus Fansub", "https://taurusfansub.com", "es"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user