diff --git a/multisrc/overrides/madara/mangaclash/additional.gradle.kts b/multisrc/overrides/madara/mangaclash/additional.gradle.kts new file mode 100644 index 000000000..4551ec08a --- /dev/null +++ b/multisrc/overrides/madara/mangaclash/additional.gradle.kts @@ -0,0 +1,4 @@ + +dependencies { + implementation project(':lib-ratelimit') +} diff --git a/multisrc/overrides/madara/mangaclash/src/MangaClash.kt b/multisrc/overrides/madara/mangaclash/src/MangaClash.kt index 9abe1f951..6a41cca27 100644 --- a/multisrc/overrides/madara/mangaclash/src/MangaClash.kt +++ b/multisrc/overrides/madara/mangaclash/src/MangaClash.kt @@ -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() +} diff --git a/multisrc/overrides/madara/manhuapro/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/madara/manhuapro/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..199566490 Binary files /dev/null and b/multisrc/overrides/madara/manhuapro/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/manhuapro/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/madara/manhuapro/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..3391e8126 Binary files /dev/null and b/multisrc/overrides/madara/manhuapro/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/manhuapro/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/madara/manhuapro/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..bec20c244 Binary files /dev/null and b/multisrc/overrides/madara/manhuapro/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/manhuapro/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/madara/manhuapro/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..7e9821306 Binary files /dev/null and b/multisrc/overrides/madara/manhuapro/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/manhuapro/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/madara/manhuapro/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..497d176fa Binary files /dev/null and b/multisrc/overrides/madara/manhuapro/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/manhuapro/res/web_hi_res_512.png b/multisrc/overrides/madara/manhuapro/res/web_hi_res_512.png new file mode 100644 index 000000000..dcfa90b0c Binary files /dev/null and b/multisrc/overrides/madara/manhuapro/res/web_hi_res_512.png differ diff --git a/multisrc/overrides/madara/manhuapro/src/ManhuaPro.kt b/multisrc/overrides/madara/manhuapro/src/ManhuaPro.kt new file mode 100644 index 000000000..462aafd33 --- /dev/null +++ b/multisrc/overrides/madara/manhuapro/src/ManhuaPro.kt @@ -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() +} diff --git a/multisrc/overrides/madara/midnightmessscans/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/madara/midnightmessscans/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..b7f1a4a15 Binary files /dev/null and b/multisrc/overrides/madara/midnightmessscans/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/midnightmessscans/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/madara/midnightmessscans/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..91b0289d2 Binary files /dev/null and b/multisrc/overrides/madara/midnightmessscans/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/midnightmessscans/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/madara/midnightmessscans/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..d1b85f9a0 Binary files /dev/null and b/multisrc/overrides/madara/midnightmessscans/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/midnightmessscans/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/madara/midnightmessscans/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..53bd006b7 Binary files /dev/null and b/multisrc/overrides/madara/midnightmessscans/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/midnightmessscans/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/madara/midnightmessscans/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..cefec1309 Binary files /dev/null and b/multisrc/overrides/madara/midnightmessscans/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/midnightmessscans/res/web_hi_res_512.png b/multisrc/overrides/madara/midnightmessscans/res/web_hi_res_512.png new file mode 100644 index 000000000..caf5a693b Binary files /dev/null and b/multisrc/overrides/madara/midnightmessscans/res/web_hi_res_512.png differ diff --git a/multisrc/overrides/madara/midnightmessscans/src/MidnightMessScans.kt b/multisrc/overrides/madara/midnightmessscans/src/MidnightMessScans.kt new file mode 100644 index 000000000..4eb964237 --- /dev/null +++ b/multisrc/overrides/madara/midnightmessscans/src/MidnightMessScans.kt @@ -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() +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index 8f90ae02d..c2cedb1da 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -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") )