fix mangaraw.org dupe class name (#5883)

This commit is contained in:
Riztard Lanthorn 2021-02-17 00:29:18 +07:00 committed by GitHub
parent b937caa855
commit b2ec86a2ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.ja.mangaraw
package eu.kanade.tachiyomi.extension.ja.mangaraworg
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
import eu.kanade.tachiyomi.network.GET
@ -17,7 +17,10 @@ import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import java.util.concurrent.TimeUnit
import okhttp3.OkHttpClient
class MangaRaw : WPMangaStream("Manga Raw", "https://mangaraw.org", "ja") {
class MangaRawOrg : WPMangaStream("Manga Raw.org", "https://mangaraw.org", "ja") {
// Formerly "Manga Raw" from WPMangaStream
override val id = 6223520752496636410
private val rateLimitInterceptor = RateLimitInterceptor(4)
override val client: OkHttpClient = network.cloudflareClient.newBuilder()

View File

@ -41,7 +41,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
SingleLang("West Manga", "https://westmanga.info", "id"),
SingleLang("Komik GO", "https://komikgo.com", "id"),
SingleLang("MangaSwat", "https://mangaswat.com", "ar"),
SingleLang("Manga Raw", "https://mangaraw.org", "ja"),
SingleLang("Manga Raw.org", "https://mangaraw.org", "ja", className = "MangaRawOrg", overrideVersionCode = 1),
SingleLang("Matakomik", "https://matakomik.com", "id"),
SingleLang("Manga Pro Z", "https://mangaproz.com", "ar"),
SingleLang("Silence Scan", "https://silencescan.net", "pt-BR"),