parent
33b348f034
commit
6aaf790747
|
@ -3,21 +3,20 @@ package eu.kanade.tachiyomi.extension.en.realmscans
|
|||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import okhttp3.Headers
|
||||
import okhttp3.OkHttpClient
|
||||
import org.jsoup.nodes.Document
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class RealmScans : MangaThemesia(
|
||||
"Realm Scans",
|
||||
"https://realmscans.com",
|
||||
"en",
|
||||
"/series"
|
||||
) {
|
||||
class RealmScans : MangaThemesia("Realm Scans", "https://realmscans.com", "en", "/series") {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(1, 1, TimeUnit.SECONDS)
|
||||
.build()
|
||||
|
||||
override fun headersBuilder(): Headers.Builder = Headers.Builder()
|
||||
.add("Referer", baseUrl)
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
return super.pageListParse(document)
|
||||
.distinctBy { it.imageUrl }
|
||||
|
|
|
@ -92,7 +92,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Raiki Scan", "https://raikiscan.com", "es"),
|
||||
SingleLang("Rawkuma", "https://rawkuma.com/", "ja"),
|
||||
SingleLang("Readkomik", "https://readkomik.com", "en", className = "ReadKomik", overrideVersionCode = 1),
|
||||
SingleLang("Realm Scans", "https://realmscans.com", "en", overrideVersionCode = 4),
|
||||
SingleLang("Realm Scans", "https://realmscans.com", "en", overrideVersionCode = 5),
|
||||
SingleLang("Ryukonesia", "https://ryukonesia.net", "id"),
|
||||
SingleLang("Sekaikomik", "https://www.sekaikomik.live", "id", isNsfw = true, overrideVersionCode = 9),
|
||||
SingleLang("Sekaikomik", "https://www.sekaikomik.site", "id", isNsfw = true, overrideVersionCode = 8),
|
||||
|
|
Loading…
Reference in New Issue