add ManhuaPro, add icons & rate limiter MMS (#7315)
* Create MidnightMessScans.kt * add MMS icon * Update MadaraGenerator.kt * Create ManhuaPro.kt * add ManhuaPro icon * Update MangaClash.kt * Update MadaraGenerator.kt * Create additional.gradle.kts
|
@ -0,0 +1,4 @@
|
|||
|
||||
dependencies {
|
||||
implementation project(':lib-ratelimit')
|
||||
}
|
|
@ -1,12 +1,23 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangaclash
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class MangaClash : Madara(
|
||||
"Manga Clash",
|
||||
"https://mangaclash.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MM/dd/yy", Locale.US)
|
||||
)
|
||||
) {
|
||||
private val rateLimitInterceptor = RateLimitInterceptor(1)
|
||||
|
||||
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
||||
.connectTimeout(10, TimeUnit.SECONDS)
|
||||
.readTimeout(30, TimeUnit.SECONDS)
|
||||
.addNetworkInterceptor(rateLimitInterceptor)
|
||||
.build()
|
||||
}
|
||||
|
|
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 7.2 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 55 KiB |
|
@ -0,0 +1,23 @@
|
|||
package eu.kanade.tachiyomi.extension.en.manhuapro
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class ManhuaPro : Madara(
|
||||
"ManhuaPro",
|
||||
"https://manhuapro.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MM/dd/yy", Locale.US)
|
||||
) {
|
||||
private val rateLimitInterceptor = RateLimitInterceptor(1)
|
||||
|
||||
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
||||
.connectTimeout(10, TimeUnit.SECONDS)
|
||||
.readTimeout(30, TimeUnit.SECONDS)
|
||||
.addNetworkInterceptor(rateLimitInterceptor)
|
||||
.build()
|
||||
}
|
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 109 KiB |
|
@ -0,0 +1,23 @@
|
|||
package eu.kanade.tachiyomi.extension.en.midnightmessscans
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class MidnightMessScans : Madara(
|
||||
"Midnight Mess Scans",
|
||||
"https://midnightmess.org",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MM/dd/yy", Locale.US)
|
||||
) {
|
||||
private val rateLimitInterceptor = RateLimitInterceptor(1)
|
||||
|
||||
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
||||
.connectTimeout(10, TimeUnit.SECONDS)
|
||||
.readTimeout(30, TimeUnit.SECONDS)
|
||||
.addNetworkInterceptor(rateLimitInterceptor)
|
||||
.build()
|
||||
}
|
|
@ -107,7 +107,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Manga Bin", "https://mangabin.com/", "en"),
|
||||
SingleLang("MangaBob", "https://mangabob.com", "en"),
|
||||
SingleLang("Manga Chill", "https://mangachill.com/", "en"),
|
||||
SingleLang("Manga Clash", "https://mangaclash.com", "en"),
|
||||
SingleLang("Manga Clash", "https://mangaclash.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("MangaCultivator", "https://mangacultivator.com", "en"),
|
||||
SingleLang("MangaDods", "https://www.mangadods.com", "en"),
|
||||
SingleLang("Manga Drop Out", "https://www.mangadropout.xyz", "id", isNsfw = true),
|
||||
|
@ -178,7 +178,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("ManyToon.me", "https://manytoon.me", "en", className = "ManyToonMe", overrideVersionCode = 1),
|
||||
SingleLang("Mark Scans", "https://markscans.online", "pt-BR", overrideVersionCode = 1),
|
||||
SingleLang("MG Komik", "https://mgkomik.my.id", "id"),
|
||||
SingleLang("Midnight Mess Scans", "https://midnightmess.org", "en"),
|
||||
SingleLang("Midnight Mess Scans", "https://midnightmess.org", "en", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("Milftoon", "https://milftoon.xxx", "en", isNsfw = true, overrideVersionCode = 2),
|
||||
SingleLang("Miracle Scans", "https://miraclescans.com", "en"),
|
||||
SingleLang("Mixed Manga", "https://mixedmanga.com", "en"),
|
||||
|
@ -294,7 +294,8 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Fudido Scanlator", "https://fudidoscan.com", "pt-BR", isNsfw = true),
|
||||
SingleLang("Yaoi Manga", "https://yaoi.mobi", "en", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("Free Manga", "https://freemanga.me", "en", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("MangaTuli", "https://mangatuli.com", "en", isNsfw = true, overrideVersionCode = 1)
|
||||
SingleLang("MangaTuli", "https://mangatuli.com", "en", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("ManhuaPro", "https://manhuapro.com", "en")
|
||||
|
||||
)
|
||||
|
||||
|
|