FR-Scan: Fix chapters not found (#18982)

This commit is contained in:
KirinRaikage 2023-11-15 17:27:52 +01:00 committed by GitHub
parent 11a8fc6e5f
commit f60fdb5ce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,17 @@
package eu.kanade.tachiyomi.extension.fr.frdashscan
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class FRScan : Madara("FR-Scan", "https://fr-scan.com", "fr", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.FRANCE))
class FRScan : Madara("FR-Scan", "https://fr-scan.com", "fr", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.FRANCE)) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
.build()
override val useNewChapterEndpoint = true
}

View File

@ -111,7 +111,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Flex Tape Scans", "https://flextapescans.com", "en", isNsfw = true),
SingleLang("Flower Manga", "https://flowermanga.com", "pt-BR"),
SingleLang("Fox White", "https://foxwhite.com.br", "pt-BR"),
SingleLang("FR-Scan", "https://fr-scan.com", "fr", pkgName = "frdashscan", className = "FRScan", overrideVersionCode = 3),
SingleLang("FR-Scan", "https://fr-scan.com", "fr", pkgName = "frdashscan", className = "FRScan", overrideVersionCode = 4),
SingleLang("Free Manga", "https://freemanga.me", "en", isNsfw = true, overrideVersionCode = 3),
SingleLang("Free Manhwa", "https://manhwas.com", "en", isNsfw = false),
SingleLang("FreeMangaTop", "https://freemangatop.com", "en", overrideVersionCode = 2),