diff --git a/src/pt/xxxyaoi/build.gradle b/src/pt/xxxyaoi/build.gradle new file mode 100644 index 000000000..6191aa98d --- /dev/null +++ b/src/pt/xxxyaoi/build.gradle @@ -0,0 +1,10 @@ +ext { + extName = 'XXX Yaoi' + extClass = '.XXXYaoi' + themePkg = 'madara' + baseUrl = 'https://3xyaoi.com' + overrideVersionCode = 0 + isNsfw = true +} + +apply from: "$rootDir/common.gradle" diff --git a/src/pt/xxxyaoi/res/mipmap-hdpi/ic_launcher.png b/src/pt/xxxyaoi/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..840ecc465 Binary files /dev/null and b/src/pt/xxxyaoi/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/pt/xxxyaoi/res/mipmap-mdpi/ic_launcher.png b/src/pt/xxxyaoi/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..fb1ca9025 Binary files /dev/null and b/src/pt/xxxyaoi/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/pt/xxxyaoi/res/mipmap-xhdpi/ic_launcher.png b/src/pt/xxxyaoi/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..9c3ce6e7b Binary files /dev/null and b/src/pt/xxxyaoi/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/pt/xxxyaoi/res/mipmap-xxhdpi/ic_launcher.png b/src/pt/xxxyaoi/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..b012d2b12 Binary files /dev/null and b/src/pt/xxxyaoi/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/pt/xxxyaoi/res/mipmap-xxxhdpi/ic_launcher.png b/src/pt/xxxyaoi/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..916d55c04 Binary files /dev/null and b/src/pt/xxxyaoi/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/pt/xxxyaoi/src/eu/kanade/tachiyomi/extension/pt/xxxyaoi/XXXYaoi.kt b/src/pt/xxxyaoi/src/eu/kanade/tachiyomi/extension/pt/xxxyaoi/XXXYaoi.kt new file mode 100644 index 000000000..ed979e110 --- /dev/null +++ b/src/pt/xxxyaoi/src/eu/kanade/tachiyomi/extension/pt/xxxyaoi/XXXYaoi.kt @@ -0,0 +1,24 @@ +package eu.kanade.tachiyomi.extension.pt.xxxyaoi + +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 XXXYaoi : Madara( + "XXX Yaoi", + "https://3xyaoi.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 + + override val mangaSubString = "bl" +}