Update some domains (#9478)
This commit is contained in:
parent
5260aff425
commit
a916378f4e
@ -2,8 +2,8 @@ ext {
|
||||
extName = 'Catharsis World'
|
||||
extClass = '.CatharsisWorld'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://catharsisworld.justep.me'
|
||||
overrideVersionCode = 4
|
||||
baseUrl = 'https://catharsisworld.dig-it.info'
|
||||
overrideVersionCode = 5
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@ import org.jsoup.nodes.Element
|
||||
|
||||
class CatharsisWorld : Madara(
|
||||
"Catharsis World",
|
||||
"https://catharsisworld.justep.me",
|
||||
"https://catharsisworld.dig-it.info",
|
||||
"es",
|
||||
) {
|
||||
override val versionId = 2
|
||||
|
@ -1,9 +1,9 @@
|
||||
ext {
|
||||
extName = 'TecnoProjects'
|
||||
extClass = '.TecnoProjects'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://tecnoprojects.com'
|
||||
overrideVersionCode = 0
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://tecnoprojects.xyz'
|
||||
overrideVersionCode = 13
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
|
@ -1,15 +1,12 @@
|
||||
package eu.kanade.tachiyomi.extension.es.tecnoprojects
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class TecnoProjects : Madara(
|
||||
class TecnoProjects : MangaThemesia(
|
||||
"TecnoProjects",
|
||||
"https://tecnoprojects.com",
|
||||
"https://tecnoprojects.xyz",
|
||||
"es",
|
||||
SimpleDateFormat("dd 'de' MMMM 'de' yyyy", Locale("es")),
|
||||
) {
|
||||
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
||||
override val useNewChapterEndpoint = true
|
||||
}
|
||||
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
|
||||
)
|
||||
|
@ -2,8 +2,8 @@ ext {
|
||||
extName = 'Comicaso'
|
||||
extClass = '.Comicaso'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://comicaso.id'
|
||||
overrideVersionCode = 2
|
||||
baseUrl = 'https://comicaso.space'
|
||||
overrideVersionCode = 3
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -1,41 +1,12 @@
|
||||
package eu.kanade.tachiyomi.extension.id.comicaso
|
||||
|
||||
import android.util.Base64
|
||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import kotlinx.serialization.json.jsonArray
|
||||
import kotlinx.serialization.json.jsonPrimitive
|
||||
import org.jsoup.nodes.Document
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class Comicaso : MangaThemesia(
|
||||
"Comicaso",
|
||||
"https://comicaso.id",
|
||||
"https://comicaso.space",
|
||||
"id",
|
||||
dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale("id")),
|
||||
) {
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
val script = document.select("script[src^=data:text/javascript;base64,]").map {
|
||||
Base64.decode(
|
||||
it.attr("src").substringAfter("base64,"),
|
||||
Base64.DEFAULT,
|
||||
).toString(Charsets.UTF_8)
|
||||
}.firstOrNull { it.startsWith("ts_reader.run") }
|
||||
?: throw Exception("Couldn't find page script")
|
||||
|
||||
countViews(document)
|
||||
|
||||
val imageListJson = JSON_IMAGE_LIST_REGEX.find(script)?.destructured?.toList()?.get(0).orEmpty()
|
||||
val imageList = try {
|
||||
json.parseToJsonElement(imageListJson).jsonArray
|
||||
} catch (_: IllegalArgumentException) {
|
||||
emptyList()
|
||||
}
|
||||
val scriptPages = imageList.mapIndexed { i, jsonEl ->
|
||||
Page(i, document.location(), jsonEl.jsonPrimitive.content)
|
||||
}
|
||||
|
||||
return scriptPages
|
||||
}
|
||||
}
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'Komiku'
|
||||
extClass = '.Komiku'
|
||||
extVersionCode = 18
|
||||
extVersionCode = 19
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -19,7 +19,7 @@ import java.util.Locale
|
||||
class Komiku : ParsedHttpSource() {
|
||||
override val name = "Komiku"
|
||||
|
||||
override val baseUrl = "https://komiku.id"
|
||||
override val baseUrl = "https://komiku.org"
|
||||
|
||||
private val baseUrlApi = "https://api.komiku.id"
|
||||
|
||||
|
@ -2,8 +2,8 @@ ext {
|
||||
extName = 'Manhwalist.org'
|
||||
extClass = '.ManhwalistOrg'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://manhwalist.org'
|
||||
overrideVersionCode = 0
|
||||
baseUrl = 'https://isekaikomik.com'
|
||||
overrideVersionCode = 1
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
|
@ -6,8 +6,7 @@ import java.util.Locale
|
||||
|
||||
class ManhwalistOrg : MangaThemesia(
|
||||
"Manhwalist.org",
|
||||
"https://manhwalist.org",
|
||||
"https://isekaikomik.com",
|
||||
"id",
|
||||
mangaUrlDirectory = "/manhwa",
|
||||
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("id")),
|
||||
)
|
||||
|
@ -2,8 +2,8 @@ ext {
|
||||
extName = 'Opiatoon'
|
||||
extClass = '.Opiatoon'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://opiatoon.pro'
|
||||
overrideVersionCode = 1
|
||||
baseUrl = 'https://opiatoon.art'
|
||||
overrideVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ import java.util.Locale
|
||||
|
||||
class Opiatoon : Madara(
|
||||
"Opiatoon",
|
||||
"https://opiatoon.pro",
|
||||
"https://opiatoon.art",
|
||||
"tr",
|
||||
dateFormat = SimpleDateFormat("d MMMM", Locale("tr")),
|
||||
) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user