diff --git a/src/pt/leitordemanga/build.gradle b/src/pt/leitordemanga/build.gradle new file mode 100644 index 000000000..6c70a20a6 --- /dev/null +++ b/src/pt/leitordemanga/build.gradle @@ -0,0 +1,9 @@ +ext { + extName = 'Leitor de Mangá' + extClass = '.LeitorDeManga' + themePkg = 'madara' + baseUrl = 'https://leitordemanga.com' + overrideVersionCode = 0 +} + +apply from: "$rootDir/common.gradle" diff --git a/src/pt/leitordemanga/res/mipmap-hdpi/ic_launcher.png b/src/pt/leitordemanga/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..082dfd17f Binary files /dev/null and b/src/pt/leitordemanga/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/pt/leitordemanga/res/mipmap-mdpi/ic_launcher.png b/src/pt/leitordemanga/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..8a97a94d7 Binary files /dev/null and b/src/pt/leitordemanga/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/pt/leitordemanga/res/mipmap-xhdpi/ic_launcher.png b/src/pt/leitordemanga/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..579f8c437 Binary files /dev/null and b/src/pt/leitordemanga/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/pt/leitordemanga/res/mipmap-xxhdpi/ic_launcher.png b/src/pt/leitordemanga/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..735bb1c91 Binary files /dev/null and b/src/pt/leitordemanga/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/pt/leitordemanga/res/mipmap-xxxhdpi/ic_launcher.png b/src/pt/leitordemanga/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..66cf9fce0 Binary files /dev/null and b/src/pt/leitordemanga/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/pt/leitordemanga/src/eu/kanade/tachiyomi/extension/pt/leitordemanga/LeitorDeManga.kt b/src/pt/leitordemanga/src/eu/kanade/tachiyomi/extension/pt/leitordemanga/LeitorDeManga.kt new file mode 100644 index 000000000..b644a5c08 --- /dev/null +++ b/src/pt/leitordemanga/src/eu/kanade/tachiyomi/extension/pt/leitordemanga/LeitorDeManga.kt @@ -0,0 +1,21 @@ +package eu.kanade.tachiyomi.extension.pt.leitordemanga + +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 LeitorDeManga : Madara( + "Leitor de Mangá", + "https://leitordemanga.com", + "pt-BR", + SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")), +) { + override val mangaSubString = "ler-manga" + + override val client: OkHttpClient = super.client.newBuilder() + .rateLimit(1, 2, TimeUnit.SECONDS) + .build() +}