fix midnight mess scans chapter timestamp (#7747)

* Update MidnightMessScans.kt

* Update MadaraGenerator.kt
This commit is contained in:
CVIUS 2021-06-20 20:36:50 +08:00 committed by GitHub
parent 8d0587c719
commit cb772216c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 20 deletions

View File

@ -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")

View File

@ -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),