Add ReadMangas (#6064)

This commit is contained in:
Chopper 2024-11-16 03:23:39 -03:00 committed by Draff
parent 0ec37d30aa
commit 4e49ac42e7
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,9 @@
ext {
extName = 'Read Mangas'
extClass = '.ReadMangas'
themePkg = 'mangathemesia'
baseUrl = 'https://readmangas.org'
overrideVersionCode = 0
}
apply from: "$rootDir/common.gradle"

View File

@ -0,0 +1,18 @@
package eu.kanade.tachiyomi.extension.pt.readmangas
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
class ReadMangas : MangaThemesia(
"Read Mangas",
"https://readmangas.org",
"pt-BR",
dateFormat = SimpleDateFormat("MMM dd, yyyy", Locale("pt", "BR")),
) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(3)
.build()
}