diff --git a/src/pt/covenscan/build.gradle b/src/pt/covenscan/build.gradle new file mode 100644 index 000000000..28c119b4e --- /dev/null +++ b/src/pt/covenscan/build.gradle @@ -0,0 +1,10 @@ +ext { + extName = 'Coven Scan' + extClass = '.CovenScan' + themePkg = 'madara' + baseUrl = 'https://cvnscan.com' + overrideVersionCode = 0 + isNsfw = true +} + +apply from: "$rootDir/common.gradle" diff --git a/src/pt/covenscan/res/mipmap-hdpi/ic_launcher.png b/src/pt/covenscan/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..3aed475d1 Binary files /dev/null and b/src/pt/covenscan/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/pt/covenscan/res/mipmap-mdpi/ic_launcher.png b/src/pt/covenscan/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..5960411eb Binary files /dev/null and b/src/pt/covenscan/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/pt/covenscan/res/mipmap-xhdpi/ic_launcher.png b/src/pt/covenscan/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..4e4d4f92b Binary files /dev/null and b/src/pt/covenscan/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/pt/covenscan/res/mipmap-xxhdpi/ic_launcher.png b/src/pt/covenscan/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..ac66b3b9b Binary files /dev/null and b/src/pt/covenscan/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/pt/covenscan/res/mipmap-xxxhdpi/ic_launcher.png b/src/pt/covenscan/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..1f86e4f6d Binary files /dev/null and b/src/pt/covenscan/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/pt/covenscan/src/eu/kanade/tachiyomi/extension/pt/covenscan/CovenScan.kt b/src/pt/covenscan/src/eu/kanade/tachiyomi/extension/pt/covenscan/CovenScan.kt new file mode 100644 index 000000000..37f35597a --- /dev/null +++ b/src/pt/covenscan/src/eu/kanade/tachiyomi/extension/pt/covenscan/CovenScan.kt @@ -0,0 +1,22 @@ +package eu.kanade.tachiyomi.extension.pt.covenscan + +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 CovenScan : Madara( + "Coven Scan", + "https://cvnscan.com", + "pt-BR", + SimpleDateFormat("MMMM dd, yyyy", Locale("pt", "BR")), +) { + + override val client: OkHttpClient = super.client.newBuilder() + .rateLimit(1, 2, TimeUnit.SECONDS) + .build() + + override val useNewChapterEndpoint = true +}