diff --git a/src/pt/monsure/build.gradle b/src/pt/monsure/build.gradle new file mode 100644 index 000000000..d060644b3 --- /dev/null +++ b/src/pt/monsure/build.gradle @@ -0,0 +1,10 @@ +ext { + extName = 'Monsure' + extClass = '.Monsure' + themePkg = 'madara' + baseUrl = 'https://monsuresu.com' + overrideVersionCode = 0 + isNsfw = true +} + +apply from: "$rootDir/common.gradle" diff --git a/src/pt/monsure/res/mipmap-hdpi/ic_launcher.png b/src/pt/monsure/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..a8394b135 Binary files /dev/null and b/src/pt/monsure/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/pt/monsure/res/mipmap-mdpi/ic_launcher.png b/src/pt/monsure/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..14446e49b Binary files /dev/null and b/src/pt/monsure/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/pt/monsure/res/mipmap-xhdpi/ic_launcher.png b/src/pt/monsure/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..cb483086f Binary files /dev/null and b/src/pt/monsure/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/pt/monsure/res/mipmap-xxhdpi/ic_launcher.png b/src/pt/monsure/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..b98c08350 Binary files /dev/null and b/src/pt/monsure/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/pt/monsure/res/mipmap-xxxhdpi/ic_launcher.png b/src/pt/monsure/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..ed8d3d854 Binary files /dev/null and b/src/pt/monsure/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/pt/monsure/src/eu/kanade/tachiyomi/extension/pt/monsure/Monsure.kt b/src/pt/monsure/src/eu/kanade/tachiyomi/extension/pt/monsure/Monsure.kt new file mode 100644 index 000000000..b698a8aa2 --- /dev/null +++ b/src/pt/monsure/src/eu/kanade/tachiyomi/extension/pt/monsure/Monsure.kt @@ -0,0 +1,24 @@ +package eu.kanade.tachiyomi.extension.pt.monsure + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.network.interceptor.rateLimit +import java.text.SimpleDateFormat +import java.util.Locale + +class Monsure : Madara( + "Monsure", + "https://monsuresu.com", + "pt-BR", + SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")), +) { + + override val client = super.client.newBuilder() + .rateLimit(3) + .build() + + override val useLoadMoreRequest = LoadMoreStrategy.Always + + override val useNewChapterEndpoint = true + + override val popularMangaUrlSelector = "${super.popularMangaUrlSelector}:not([href*=instagram])" +}