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
This commit is contained in:
MuhamedZ1 2023-09-06 22:08:45 +05:30 committed by GitHub
parent f922e6cc7c
commit 4c3e66cf20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 25 additions and 17 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -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
}

View File

@ -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
}

View File

@ -85,7 +85,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
SingleLang("ManhwaList", "https://manhwalist.xyz", "id", overrideVersionCode = 3), SingleLang("ManhwaList", "https://manhwalist.xyz", "id", overrideVersionCode = 3),
SingleLang("Manhwax", "https://manhwax.com", "en", isNsfw = true), SingleLang("Manhwax", "https://manhwax.com", "en", isNsfw = true),
SingleLang("Mareceh", "https://mareceh.com", "id", isNsfw = true, pkgName = "mangceh", overrideVersionCode = 10), 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("MELOKOMIK", "https://melokomik.xyz", "id"),
SingleLang("Mihentai", "https://mihentai.com", "all", isNsfw = true, overrideVersionCode = 2), SingleLang("Mihentai", "https://mihentai.com", "all", isNsfw = true, overrideVersionCode = 2),
SingleLang("MirrorDesu", "https://mirrordesu.me", "id", isNsfw = true), SingleLang("MirrorDesu", "https://mirrordesu.me", "id", isNsfw = true),