diff --git a/multisrc/overrides/madara/linkstartscan/src/LinkStartScan.kt b/multisrc/overrides/madara/linkstartscan/src/LinkStartScan.kt new file mode 100644 index 000000000..5d6dc6d80 --- /dev/null +++ b/multisrc/overrides/madara/linkstartscan/src/LinkStartScan.kt @@ -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 +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index c9fd50cf8..7e49639b4 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -194,6 +194,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("LHTranslation", "https://lhtranslation.net", "en", overrideVersionCode = 1), SingleLang("Lily Manga", "https://lilymanga.net", "en", isNsfw = true, overrideVersionCode = 3), 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("Lord Manga", "https://lordmanga.com", "en"), SingleLang("Leviatan Scans", "https://lscomic.com", "en", overrideVersionCode = 15),