Update domains (#6025)
This commit is contained in:
parent
11eaf8789e
commit
3784abee0c
|
@ -2,8 +2,8 @@ ext {
|
|||
extName = 'MangaNoon'
|
||||
extClass = '.MangaNoon'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://axztu.com'
|
||||
overrideVersionCode = 7
|
||||
baseUrl = 'https://vrnoin.site'
|
||||
overrideVersionCode = 8
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import java.util.Calendar
|
|||
|
||||
class MangaNoon : MangaThemesia(
|
||||
"مانجا نون",
|
||||
"https://axztu.com",
|
||||
"https://vrnoin.site",
|
||||
"ar",
|
||||
) {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'Team X'
|
||||
extClass = '.TeamX'
|
||||
extVersionCode = 18
|
||||
extVersionCode = 19
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ class TeamX : ParsedHttpSource(), ConfigurableSource {
|
|||
|
||||
override val name = "Team X"
|
||||
|
||||
private val defaultBaseUrl = "https://teamoney.site"
|
||||
private val defaultBaseUrl = "https://olympustaff.com"
|
||||
|
||||
override val baseUrl by lazy { getPrefBaseUrl() }
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ ext {
|
|||
extName = 'Knight No Scanlation'
|
||||
extClass = '.KnightNoScanlation'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://lectorkns.eyudud.net'
|
||||
overrideVersionCode = 2
|
||||
baseUrl = 'https://kns.topmanhuas.org'
|
||||
overrideVersionCode = 3
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.concurrent.TimeUnit
|
|||
|
||||
class KnightNoScanlation : Madara(
|
||||
"Knight No Scanlation",
|
||||
"https://lectorkns.eyudud.net",
|
||||
"https://kns.topmanhuas.org",
|
||||
"es",
|
||||
SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
|
||||
) {
|
||||
|
@ -20,7 +20,7 @@ class KnightNoScanlation : Madara(
|
|||
|
||||
override val mangaSubString = "sr"
|
||||
|
||||
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
||||
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ ext {
|
|||
extName = 'MMFenix'
|
||||
extClass = '.MMFenix'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://mmfenix.com'
|
||||
overrideVersionCode = 5
|
||||
baseUrl = 'https://mmdaos.com'
|
||||
overrideVersionCode = 6
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -8,13 +8,15 @@ import java.util.Locale
|
|||
|
||||
class MMFenix : Madara(
|
||||
"MMFenix",
|
||||
"https://mmfenix.com",
|
||||
"https://mmdaos.com",
|
||||
"es",
|
||||
SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
|
||||
) {
|
||||
|
||||
override val id: Long = 19158964284779393
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
|
|
|
@ -2,8 +2,8 @@ ext {
|
|||
extName = 'CosmicScans.id'
|
||||
extClass = '.CosmicScansID'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://cosmic1.co'
|
||||
overrideVersionCode = 5
|
||||
baseUrl = 'https://cosmic345.co'
|
||||
overrideVersionCode = 6
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -3,7 +3,6 @@ package eu.kanade.tachiyomi.extension.id.cosmicscansid
|
|||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import eu.kanade.tachiyomi.source.model.Filter
|
||||
import eu.kanade.tachiyomi.source.model.FilterList
|
||||
import okhttp3.HttpUrl.Companion.toHttpUrl
|
||||
import okhttp3.OkHttpClient
|
||||
|
@ -11,49 +10,33 @@ import okhttp3.Request
|
|||
import org.jsoup.select.Elements
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class CosmicScansID : MangaThemesia("CosmicScans.id", "https://cosmic1.co", "id", "/semua-komik") {
|
||||
class CosmicScansID : MangaThemesia(
|
||||
"CosmicScans.id",
|
||||
"https://cosmic345.co",
|
||||
"id",
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(20, 4, TimeUnit.SECONDS)
|
||||
.build()
|
||||
|
||||
override val hasProjectPage = true
|
||||
override val projectPageString = "/semua-komik"
|
||||
|
||||
override fun latestUpdatesRequest(page: Int) = GET(baseUrl + if (page > 1) "/page/$page" else "", headers)
|
||||
|
||||
// search
|
||||
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
|
||||
if (query.isBlank()) {
|
||||
return super.searchMangaRequest(page, query, filters)
|
||||
}
|
||||
|
||||
val url = baseUrl.toHttpUrl().newBuilder()
|
||||
.addPathSegments("page/$page/")
|
||||
.addQueryParameter("s", query)
|
||||
|
||||
filters.forEach { filter ->
|
||||
when (filter) {
|
||||
// if site has project page, default value "hasProjectPage" = false
|
||||
is ProjectFilter -> {
|
||||
if (filter.selectedValue() == "project-filter-on") {
|
||||
url.setPathSegment(0, projectPageString.substring(1))
|
||||
}
|
||||
}
|
||||
else -> { /* Do Nothing */ }
|
||||
}
|
||||
}
|
||||
return GET(url.build())
|
||||
}
|
||||
|
||||
override fun searchMangaSelector() = ".bixbox:not(.hothome):has(.hpage) .utao .uta .imgu, .bixbox:not(.hothome) .listupd .bs .bsx"
|
||||
|
||||
override fun getFilterList(): FilterList {
|
||||
val filters = mutableListOf<Filter<*>>(
|
||||
Filter.Separator(),
|
||||
Filter.Header("$name Project List page"),
|
||||
ProjectFilter(intl["project_filter_title"], projectFilterOptions),
|
||||
OrderByFilter(intl["order_by_filter_title"], orderByFilterOptions),
|
||||
)
|
||||
return FilterList(filters)
|
||||
}
|
||||
|
||||
// manga details
|
||||
override val seriesDescriptionSelector = ".entry-content[itemprop=description] :not(a,p:has(a))"
|
||||
override fun Elements.imgAttr(): String = this.first()?.imgAttr() ?: ""
|
||||
|
|
|
@ -2,8 +2,8 @@ ext {
|
|||
extName = 'Top Truyen'
|
||||
extClass = '.TopTruyen'
|
||||
themePkg = 'wpcomics'
|
||||
baseUrl = 'https://www.toptruyenviet.info'
|
||||
overrideVersionCode = 0
|
||||
baseUrl = 'https://www.toptruyenww.pro'
|
||||
overrideVersionCode = 1
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ import java.util.Locale
|
|||
|
||||
class TopTruyen : WPComics(
|
||||
"Top Truyen",
|
||||
"https://www.toptruyenviet.info",
|
||||
"https://www.toptruyenww.pro",
|
||||
"vi",
|
||||
dateFormat = SimpleDateFormat("dd-MM-yyyy", Locale.getDefault()),
|
||||
gmtOffset = null,
|
||||
|
|
|
@ -2,8 +2,8 @@ ext {
|
|||
extName = "UmeTruyen"
|
||||
extClass = ".UmeTruyen"
|
||||
themePkg = "manhwaz"
|
||||
baseUrl = "https://umetruyenhay.net"
|
||||
overrideVersionCode = 2
|
||||
baseUrl = "https://umetruyenhay.com"
|
||||
overrideVersionCode = 3
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import eu.kanade.tachiyomi.multisrc.manhwaz.ManhwaZ
|
|||
|
||||
class UmeTruyen : ManhwaZ(
|
||||
"UmeTruyen",
|
||||
"https://umetruyenhay.net",
|
||||
"https://umetruyenhay.com",
|
||||
"vi",
|
||||
mangaDetailsAuthorHeading = "Tác giả",
|
||||
mangaDetailsStatusHeading = "Trạng thái",
|
||||
|
|
Loading…
Reference in New Issue