Add a new source to Madara (#18782)

Add a new source to Madara.
This commit is contained in:
Alessandro Jean 2023-10-28 20:24:47 -03:00 committed by GitHub
parent cfed0842ee
commit a052d7f471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
package eu.kanade.tachiyomi.extension.pt.linkstartscan
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 LinkStartScan : Madara(
"Link Start Scan",
"https://www.linkstartscan.xyz",
"pt-BR",
SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")),
) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
.build()
override val useNewChapterEndpoint = true
}

View File

@ -194,6 +194,7 @@ class MadaraGenerator : ThemeSourceGenerator {
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("Limbo Scan", "https://limboscan.com.br", "pt-BR", isNsfw = true), SingleLang("Limbo Scan", "https://limboscan.com.br", "pt-BR", isNsfw = true),
SingleLang("Link Start Scan", "https://www.linkstartscan.xyz", "pt-BR", isNsfw = true),
SingleLang("Lolicon", "https://lolicon.mobi", "en", isNsfw = true, overrideVersionCode = 2), SingleLang("Lolicon", "https://lolicon.mobi", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("Lord Manga", "https://lordmanga.com", "en"), SingleLang("Lord Manga", "https://lordmanga.com", "en"),
SingleLang("Leviatan Scans", "https://lscomic.com", "en", overrideVersionCode = 15), SingleLang("Leviatan Scans", "https://lscomic.com", "en", overrideVersionCode = 15),