fix midnight mess scans chapter timestamp (#7747)
* Update MidnightMessScans.kt * Update MadaraGenerator.kt
This commit is contained in:
parent
8d0587c719
commit
cb772216c4
|
@ -1,23 +1,7 @@
|
|||
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
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
|
||||
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()
|
||||
}
|
||||
@Nsfw
|
||||
class MidnightMessScans : Madara("Midnight Mess Scans", "https://midnightmess.org", "en")
|
||||
|
|
|
@ -190,7 +190,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("ManyToonClub", "https://manytoon.club", "ko"),
|
||||
SingleLang("ManyComic", "https://manycomic.com", "en", isNsfw = true),
|
||||
SingleLang("Mark Scans", "https://markscans.online", "pt-BR", overrideVersionCode = 2),
|
||||
SingleLang("Midnight Mess Scans", "https://midnightmess.org", "en", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("Midnight Mess Scans", "https://midnightmess.org", "en", isNsfw = true, overrideVersionCode = 2),
|
||||
SingleLang("Milftoon", "https://milftoon.xxx", "en", isNsfw = true, overrideVersionCode = 2),
|
||||
SingleLang("Mixed Manga", "https://mixedmanga.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Mode Scanlator", "https://modescanlator.com", "pt-BR", overrideVersionCode = 1),
|
||||
|
|
Loading…
Reference in New Issue