FR-Scan: Fix chapters not found (#18982)
This commit is contained in:
parent
11a8fc6e5f
commit
f60fdb5ce1
|
@ -1,7 +1,17 @@
|
||||||
package eu.kanade.tachiyomi.extension.fr.frdashscan
|
package eu.kanade.tachiyomi.extension.fr.frdashscan
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
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
|
||||||
|
}
|
||||||
|
|
|
@ -111,7 +111,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Flex Tape Scans", "https://flextapescans.com", "en", isNsfw = true),
|
SingleLang("Flex Tape Scans", "https://flextapescans.com", "en", isNsfw = true),
|
||||||
SingleLang("Flower Manga", "https://flowermanga.com", "pt-BR"),
|
SingleLang("Flower Manga", "https://flowermanga.com", "pt-BR"),
|
||||||
SingleLang("Fox White", "https://foxwhite.com.br", "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 Manga", "https://freemanga.me", "en", isNsfw = true, overrideVersionCode = 3),
|
||||||
SingleLang("Free Manhwa", "https://manhwas.com", "en", isNsfw = false),
|
SingleLang("Free Manhwa", "https://manhwas.com", "en", isNsfw = false),
|
||||||
SingleLang("FreeMangaTop", "https://freemangatop.com", "en", overrideVersionCode = 2),
|
SingleLang("FreeMangaTop", "https://freemangatop.com", "en", overrideVersionCode = 2),
|
||||||
|
|
Loading…
Reference in New Issue