parent
325905f741
commit
ae0992fc73
@ -2,4 +2,4 @@ plugins {
|
||||
id("lib-multisrc")
|
||||
}
|
||||
|
||||
baseVersionCode = 2
|
||||
baseVersionCode = 3
|
||||
|
@ -27,7 +27,7 @@ abstract class ZeroTheme(
|
||||
|
||||
open val cdnUrl: String = "https://cdn.${baseUrl.substringAfterLast("/")}"
|
||||
|
||||
open val imageLocation: String = "images"
|
||||
open val imageLocation: String = "/images"
|
||||
|
||||
open val mangaSubString: String by lazy {
|
||||
val response = client.newCall(GET(baseUrl, headers)).execute()
|
||||
@ -42,7 +42,7 @@ abstract class ZeroTheme(
|
||||
|
||||
open val chapterSubString: String = "chapter"
|
||||
|
||||
private val sourceLocation: String get() = "$cdnUrl/$imageLocation"
|
||||
open val sourceLocation: String get() = "$cdnUrl$imageLocation"
|
||||
|
||||
// =========================== Popular ================================
|
||||
|
||||
|
@ -10,9 +10,13 @@ class EgoToons : ZeroTheme(
|
||||
) {
|
||||
override val versionId = 2
|
||||
|
||||
override val supportsLatest = false
|
||||
|
||||
override val client = super.client.newBuilder()
|
||||
.rateLimit(2)
|
||||
.build()
|
||||
|
||||
override val imageLocation = "image-db"
|
||||
override val imageLocation = "/image-db"
|
||||
|
||||
override fun fetchPopularManga(page: Int) = fetchLatestUpdates(page)
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ ext {
|
||||
extName = 'Ler Toons'
|
||||
extClass = '.LerToons'
|
||||
themePkg = 'zerotheme'
|
||||
baseUrl = 'https://lertoons.com'
|
||||
baseUrl = 'https://www.unionmangas.com'
|
||||
overrideVersionCode = 0
|
||||
isNsfw = true
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
|
||||
class LerToons : ZeroTheme(
|
||||
"Ler Toons",
|
||||
"https://lertoons.com",
|
||||
"https://www.unionmangas.com",
|
||||
"pt-BR",
|
||||
) {
|
||||
override val versionId = 3
|
||||
@ -14,5 +14,7 @@ class LerToons : ZeroTheme(
|
||||
.rateLimit(2)
|
||||
.build()
|
||||
|
||||
override val mangaSubString: String = "manga"
|
||||
override val cdnUrl: String = "https://fullmangas.one"
|
||||
|
||||
override val imageLocation = ""
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user