MasterKomik changed to Tenshi.id (#17813)
* Corrected date issue in MasterKomik * Updated imports * Changed MasterKomik to TenshiId and added icons * changed parameter ordering * Changed icons and set extension id * Corrected comment * Added author and artist selectors
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 49 KiB |
|
@ -1,16 +0,0 @@
|
|||
package eu.kanade.tachiyomi.extension.id.masterkomik
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import okhttp3.OkHttpClient
|
||||
|
||||
class MasterKomik : MangaThemesia("MasterKomik", "https://masterkomik.com", "id") {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(4)
|
||||
.build()
|
||||
|
||||
override val projectPageString = "/project-list"
|
||||
|
||||
override val hasProjectPage = true
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
package eu.kanade.tachiyomi.extension.id.masterkomik
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class TenshiId : MangaThemesia("Tenshi.id", "https://tenshi.id", "id", dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("id", "ID"))) {
|
||||
|
||||
// MasterKomik changed to Tenshi.id
|
||||
override val id: Long = 3146720114171452298
|
||||
|
||||
override val seriesArtistSelector: String = ".imptdt-artist-sub-2 i .js-button-custom"
|
||||
override val seriesAuthorSelector: String = ".imptdt-author-sub-2 i .js-button-custom"
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(4)
|
||||
.build()
|
||||
|
||||
override val projectPageString = "/project-list"
|
||||
|
||||
override val hasProjectPage = true
|
||||
}
|
|
@ -85,7 +85,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
|
|||
SingleLang("ManhwaList", "https://manhwalist.xyz", "id", overrideVersionCode = 3),
|
||||
SingleLang("Manhwax", "https://manhwax.com", "en", isNsfw = true),
|
||||
SingleLang("Mareceh", "https://mareceh.com", "id", isNsfw = true, pkgName = "mangceh", overrideVersionCode = 10),
|
||||
SingleLang("MasterKomik", "https://masterkomik.com", "id", overrideVersionCode = 1),
|
||||
SingleLang("Tenshi.id", "https://tenshi.id", "id", className = "TenshiId", pkgName = "masterkomik", overrideVersionCode = 2),
|
||||
SingleLang("MELOKOMIK", "https://melokomik.xyz", "id"),
|
||||
SingleLang("Mihentai", "https://mihentai.com", "all", isNsfw = true, overrideVersionCode = 2),
|
||||
SingleLang("MirrorDesu", "https://mirrordesu.me", "id", isNsfw = true),
|
||||
|
|