diff --git a/src/pt/moonwitchscan/build.gradle b/src/pt/moonwitchscan/build.gradle new file mode 100644 index 000000000..4df831c14 --- /dev/null +++ b/src/pt/moonwitchscan/build.gradle @@ -0,0 +1,9 @@ +ext { + extName = 'Moon Witch Scan' + extClass = '.MoonWitchScan' + themePkg = 'madara' + baseUrl = 'https://moonwitchscan.com.br' + overrideVersionCode = 0 +} + +apply from: "$rootDir/common.gradle" diff --git a/src/pt/moonwitchscan/res/mipmap-hdpi/ic_launcher.png b/src/pt/moonwitchscan/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..1cca7d039 Binary files /dev/null and b/src/pt/moonwitchscan/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/pt/moonwitchscan/res/mipmap-mdpi/ic_launcher.png b/src/pt/moonwitchscan/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..d957326fa Binary files /dev/null and b/src/pt/moonwitchscan/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/pt/moonwitchscan/res/mipmap-xhdpi/ic_launcher.png b/src/pt/moonwitchscan/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..78f19680d Binary files /dev/null and b/src/pt/moonwitchscan/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/pt/moonwitchscan/res/mipmap-xxhdpi/ic_launcher.png b/src/pt/moonwitchscan/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..2cf422629 Binary files /dev/null and b/src/pt/moonwitchscan/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/pt/moonwitchscan/res/mipmap-xxxhdpi/ic_launcher.png b/src/pt/moonwitchscan/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..924eaa6f6 Binary files /dev/null and b/src/pt/moonwitchscan/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/pt/moonwitchscan/src/eu/kanade/tachiyomi/extension/pt/moonwitchscan/MoonWitchScan.kt b/src/pt/moonwitchscan/src/eu/kanade/tachiyomi/extension/pt/moonwitchscan/MoonWitchScan.kt new file mode 100644 index 000000000..a3a167d7d --- /dev/null +++ b/src/pt/moonwitchscan/src/eu/kanade/tachiyomi/extension/pt/moonwitchscan/MoonWitchScan.kt @@ -0,0 +1,21 @@ +package eu.kanade.tachiyomi.extension.pt.moonwitchscan + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.network.interceptor.rateLimit +import java.text.SimpleDateFormat +import java.util.Locale + +class MoonWitchScan : Madara( + "Moon Witch Scan", + "https://moonwitchscan.com.br", + "pt-BR", + SimpleDateFormat("dd 'de' MMM 'de' yyyy", Locale("pt", "BR")), +) { + override val client = super.client.newBuilder() + .rateLimit(3) + .build() + + override val useLoadMoreRequest = LoadMoreStrategy.Never + + override val useNewChapterEndpoint = true +}