fix some sources (#7535)

* Update MangaKitsune.kt

* Update MangaLazy.kt

* Update MangaKitsune.kt

* Update MadaraGenerator.kt
This commit is contained in:
CVIUS 2021-06-08 20:28:52 +08:00 committed by GitHub
parent 2932fde187
commit 5f117bffbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit
@Nsfw @Nsfw
class MangaKitsune : Madara("MangaKitsune", "https://mangakitsune.com", "en", dateFormat = SimpleDateFormat("MM/dd/yy", Locale.US)) { class MangaKitsune : Madara("MangaKitsune", "https://mangakitsune.com", "en", dateFormat = SimpleDateFormat("yyyy-MM-dd", Locale.US)) {
private val rateLimitInterceptor = RateLimitInterceptor(1) private val rateLimitInterceptor = RateLimitInterceptor(1)
override val client: OkHttpClient = network.cloudflareClient.newBuilder() override val client: OkHttpClient = network.cloudflareClient.newBuilder()
@ -18,7 +18,7 @@ class MangaKitsune : Madara("MangaKitsune", "https://mangakitsune.com", "en", da
.addNetworkInterceptor(rateLimitInterceptor) .addNetworkInterceptor(rateLimitInterceptor)
.build() .build()
override val pageListParseSelector = "div.page-break, li.blocks-gallery-item" override val pageListParseSelector = ".reading-content div.text-left :has(>img)"
override fun getGenreList() = listOf( override fun getGenreList() = listOf(
Genre("Action", "action"), Genre("Action", "action"),

View File

@ -16,7 +16,7 @@ class MangaLazy : Madara("MangaLazy", "https://mangalazy.com", "en") {
.addNetworkInterceptor(rateLimitInterceptor) .addNetworkInterceptor(rateLimitInterceptor)
.build() .build()
override val pageListParseSelector = "div.page-break, li.blocks-gallery-item" override val pageListParseSelector = ".reading-content div.text-left :has(>img)"
override fun getGenreList() = listOf( override fun getGenreList() = listOf(
Genre("Action", "action"), Genre("Action", "action"),

View File

@ -112,11 +112,11 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Manga Hentai", "https://mangahentai.me", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("Manga Hentai", "https://mangahentai.me", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("Mangakik", "https://mangakik.com", "en"), SingleLang("Mangakik", "https://mangakik.com", "en"),
SingleLang("Manga Kiss", "https://mangakiss.org", "en", overrideVersionCode = 1), SingleLang("Manga Kiss", "https://mangakiss.org", "en", overrideVersionCode = 1),
SingleLang("MangaKitsune", "https://mangakitsune.com", "en", isNsfw = true), SingleLang("MangaKitsune", "https://mangakitsune.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("MangaKomi", "https://mangakomi.com", "en", overrideVersionCode = 2), SingleLang("MangaKomi", "https://mangakomi.com", "en", overrideVersionCode = 2),
SingleLang("Manga Land Arabic", "https://mangalandarabic.com", "ar"), SingleLang("Manga Land Arabic", "https://mangalandarabic.com", "ar"),
SingleLang("مانجا ليك", "https://mangalek.com", "ar", className = "Mangalek"), SingleLang("مانجا ليك", "https://mangalek.com", "ar", className = "Mangalek"),
SingleLang("MangaLazy", "https://mangalazy.com", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("MangaLazy", "https://mangalazy.com", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("MangaLionz", "https://mangalionz.com", "ar"), SingleLang("MangaLionz", "https://mangalionz.com", "ar"),
SingleLang("مانجا لينك", "https://mangalink.io", "ar", className = "MangaLinkio", overrideVersionCode = 1), SingleLang("مانجا لينك", "https://mangalink.io", "ar", className = "MangaLinkio", overrideVersionCode = 1),
SingleLang("Manga Lord", "https://mangalord.com", "en", overrideVersionCode = 1), SingleLang("Manga Lord", "https://mangalord.com", "en", overrideVersionCode = 1),