diff --git a/src/es/ragnaroknochikara/build.gradle b/src/es/ragnaroknochikara/build.gradle new file mode 100644 index 000000000..29643f623 --- /dev/null +++ b/src/es/ragnaroknochikara/build.gradle @@ -0,0 +1,10 @@ +ext { + extName = 'Ragnarok No Chikara' + extClass = '.RagnarokNoChikara' + themePkg = 'madara' + baseUrl = 'https://ragnarokscan.com' + overrideVersionCode = 0 + isNsfw = false +} + +apply from: "$rootDir/common.gradle" diff --git a/src/es/ragnaroknochikara/res/mipmap-hdpi/ic_launcher.png b/src/es/ragnaroknochikara/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..870433c83 Binary files /dev/null and b/src/es/ragnaroknochikara/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/es/ragnaroknochikara/res/mipmap-mdpi/ic_launcher.png b/src/es/ragnaroknochikara/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..966b85be2 Binary files /dev/null and b/src/es/ragnaroknochikara/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/es/ragnaroknochikara/res/mipmap-xhdpi/ic_launcher.png b/src/es/ragnaroknochikara/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..58a278aa2 Binary files /dev/null and b/src/es/ragnaroknochikara/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/es/ragnaroknochikara/res/mipmap-xxhdpi/ic_launcher.png b/src/es/ragnaroknochikara/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..5f58c8b0c Binary files /dev/null and b/src/es/ragnaroknochikara/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/es/ragnaroknochikara/res/mipmap-xxxhdpi/ic_launcher.png b/src/es/ragnaroknochikara/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..759f38531 Binary files /dev/null and b/src/es/ragnaroknochikara/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/es/ragnaroknochikara/src/eu/kanade/tachiyomi/extension/es/ragnaroknochikara/RagnarokNoChikara.kt b/src/es/ragnaroknochikara/src/eu/kanade/tachiyomi/extension/es/ragnaroknochikara/RagnarokNoChikara.kt new file mode 100644 index 000000000..51c862a35 --- /dev/null +++ b/src/es/ragnaroknochikara/src/eu/kanade/tachiyomi/extension/es/ragnaroknochikara/RagnarokNoChikara.kt @@ -0,0 +1,21 @@ +package eu.kanade.tachiyomi.extension.es.ragnaroknochikara + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.network.interceptor.rateLimitHost +import okhttp3.HttpUrl.Companion.toHttpUrl +import java.text.SimpleDateFormat +import java.util.Locale + +class RagnarokNoChikara : Madara( + "Ragnarok No Chikara", + "https://ragnarokscan.com", + "es", + SimpleDateFormat("MMMM d, yyy", Locale("es")), +) { + override val client = super.client.newBuilder() + .rateLimitHost(baseUrl.toHttpUrl(), 3, 1) + .build() + + override val useLoadMoreRequest = LoadMoreStrategy.Never + override val useNewChapterEndpoint = true +}