diff --git a/src/pt/maidsecret/build.gradle b/src/pt/maidsecret/build.gradle new file mode 100644 index 000000000..ac14844c7 --- /dev/null +++ b/src/pt/maidsecret/build.gradle @@ -0,0 +1,10 @@ +ext { + extName = 'Maid Secret' + extClass = '.MaidSecret' + themePkg = 'madara' + baseUrl = 'https://maidsecret.com' + overrideVersionCode = 0 + isNsfw = true +} + +apply from: "$rootDir/common.gradle" diff --git a/src/pt/maidsecret/res/mipmap-hdpi/ic_launcher.png b/src/pt/maidsecret/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..f557f878c Binary files /dev/null and b/src/pt/maidsecret/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/pt/maidsecret/res/mipmap-mdpi/ic_launcher.png b/src/pt/maidsecret/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..43381a294 Binary files /dev/null and b/src/pt/maidsecret/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/pt/maidsecret/res/mipmap-xhdpi/ic_launcher.png b/src/pt/maidsecret/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..0ee1f638a Binary files /dev/null and b/src/pt/maidsecret/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/pt/maidsecret/res/mipmap-xxhdpi/ic_launcher.png b/src/pt/maidsecret/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..f8c3f11fc Binary files /dev/null and b/src/pt/maidsecret/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/pt/maidsecret/res/mipmap-xxxhdpi/ic_launcher.png b/src/pt/maidsecret/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..a1022dc5b Binary files /dev/null and b/src/pt/maidsecret/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/pt/maidsecret/src/eu/kanade/tachiyomi/extension/pt/maidsecret/MaidSecret.kt b/src/pt/maidsecret/src/eu/kanade/tachiyomi/extension/pt/maidsecret/MaidSecret.kt new file mode 100644 index 000000000..e76a39cdb --- /dev/null +++ b/src/pt/maidsecret/src/eu/kanade/tachiyomi/extension/pt/maidsecret/MaidSecret.kt @@ -0,0 +1,20 @@ +package eu.kanade.tachiyomi.extension.pt.maidsecret + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.network.interceptor.rateLimit +import java.text.SimpleDateFormat +import java.util.Locale +import java.util.concurrent.TimeUnit + +class MaidSecret : Madara( + "Maid Secret", + "https://maidsecret.com", + "pt-BR", + SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")), +) { + override val useNewChapterEndpoint = true + + override val client = network.client.newBuilder() + .rateLimit(1, 2, TimeUnit.SECONDS) + .build() +}