Update domains (#6025)

This commit is contained in:
Chopper 2024-11-14 03:29:11 -03:00 committed by Draff
parent 11eaf8789e
commit 3784abee0c
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
14 changed files with 31 additions and 46 deletions

View File

@ -2,8 +2,8 @@ ext {
extName = 'MangaNoon' extName = 'MangaNoon'
extClass = '.MangaNoon' extClass = '.MangaNoon'
themePkg = 'mangathemesia' themePkg = 'mangathemesia'
baseUrl = 'https://axztu.com' baseUrl = 'https://vrnoin.site'
overrideVersionCode = 7 overrideVersionCode = 8
isNsfw = false isNsfw = false
} }

View File

@ -7,7 +7,7 @@ import java.util.Calendar
class MangaNoon : MangaThemesia( class MangaNoon : MangaThemesia(
"مانجا نون", "مانجا نون",
"https://axztu.com", "https://vrnoin.site",
"ar", "ar",
) { ) {

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'Team X' extName = 'Team X'
extClass = '.TeamX' extClass = '.TeamX'
extVersionCode = 18 extVersionCode = 19
isNsfw = false isNsfw = false
} }

View File

@ -29,7 +29,7 @@ class TeamX : ParsedHttpSource(), ConfigurableSource {
override val name = "Team X" override val name = "Team X"
private val defaultBaseUrl = "https://teamoney.site" private val defaultBaseUrl = "https://olympustaff.com"
override val baseUrl by lazy { getPrefBaseUrl() } override val baseUrl by lazy { getPrefBaseUrl() }

View File

@ -2,8 +2,8 @@ ext {
extName = 'Knight No Scanlation' extName = 'Knight No Scanlation'
extClass = '.KnightNoScanlation' extClass = '.KnightNoScanlation'
themePkg = 'madara' themePkg = 'madara'
baseUrl = 'https://lectorkns.eyudud.net' baseUrl = 'https://kns.topmanhuas.org'
overrideVersionCode = 2 overrideVersionCode = 3
isNsfw = true isNsfw = true
} }

View File

@ -10,7 +10,7 @@ import java.util.concurrent.TimeUnit
class KnightNoScanlation : Madara( class KnightNoScanlation : Madara(
"Knight No Scanlation", "Knight No Scanlation",
"https://lectorkns.eyudud.net", "https://kns.topmanhuas.org",
"es", "es",
SimpleDateFormat("MMMM dd, yyyy", Locale("es")), SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
) { ) {
@ -20,7 +20,7 @@ class KnightNoScanlation : Madara(
override val mangaSubString = "sr" override val mangaSubString = "sr"
override val useLoadMoreRequest = LoadMoreStrategy.Always override val useLoadMoreRequest = LoadMoreStrategy.Never
override val useNewChapterEndpoint = true override val useNewChapterEndpoint = true

View File

@ -2,8 +2,8 @@ ext {
extName = 'MMFenix' extName = 'MMFenix'
extClass = '.MMFenix' extClass = '.MMFenix'
themePkg = 'madara' themePkg = 'madara'
baseUrl = 'https://mmfenix.com' baseUrl = 'https://mmdaos.com'
overrideVersionCode = 5 overrideVersionCode = 6
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -8,13 +8,15 @@ import java.util.Locale
class MMFenix : Madara( class MMFenix : Madara(
"MMFenix", "MMFenix",
"https://mmfenix.com", "https://mmdaos.com",
"es", "es",
SimpleDateFormat("MMMM dd, yyyy", Locale("es")), SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
) { ) {
override val id: Long = 19158964284779393 override val id: Long = 19158964284779393
override val useNewChapterEndpoint = true
override val useLoadMoreRequest = LoadMoreStrategy.Always override val useLoadMoreRequest = LoadMoreStrategy.Always
override val client: OkHttpClient = super.client.newBuilder() override val client: OkHttpClient = super.client.newBuilder()

View File

@ -2,8 +2,8 @@ ext {
extName = 'CosmicScans.id' extName = 'CosmicScans.id'
extClass = '.CosmicScansID' extClass = '.CosmicScansID'
themePkg = 'mangathemesia' themePkg = 'mangathemesia'
baseUrl = 'https://cosmic1.co' baseUrl = 'https://cosmic345.co'
overrideVersionCode = 5 overrideVersionCode = 6
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -3,7 +3,6 @@ package eu.kanade.tachiyomi.extension.id.cosmicscansid
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.network.interceptor.rateLimit import eu.kanade.tachiyomi.network.interceptor.rateLimit
import eu.kanade.tachiyomi.source.model.Filter
import eu.kanade.tachiyomi.source.model.FilterList import eu.kanade.tachiyomi.source.model.FilterList
import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.HttpUrl.Companion.toHttpUrl
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
@ -11,49 +10,33 @@ import okhttp3.Request
import org.jsoup.select.Elements import org.jsoup.select.Elements
import java.util.concurrent.TimeUnit 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() override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(20, 4, TimeUnit.SECONDS) .rateLimit(20, 4, TimeUnit.SECONDS)
.build() .build()
override val hasProjectPage = true override val hasProjectPage = true
override val projectPageString = "/semua-komik"
override fun latestUpdatesRequest(page: Int) = GET(baseUrl + if (page > 1) "/page/$page" else "", headers)
// search // search
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request { override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
if (query.isBlank()) {
return super.searchMangaRequest(page, query, filters)
}
val url = baseUrl.toHttpUrl().newBuilder() val url = baseUrl.toHttpUrl().newBuilder()
.addPathSegments("page/$page/") .addPathSegments("page/$page/")
.addQueryParameter("s", query) .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()) return GET(url.build())
} }
override fun searchMangaSelector() = ".bixbox:not(.hothome):has(.hpage) .utao .uta .imgu, .bixbox:not(.hothome) .listupd .bs .bsx" 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 // manga details
override val seriesDescriptionSelector = ".entry-content[itemprop=description] :not(a,p:has(a))" override val seriesDescriptionSelector = ".entry-content[itemprop=description] :not(a,p:has(a))"
override fun Elements.imgAttr(): String = this.first()?.imgAttr() ?: "" override fun Elements.imgAttr(): String = this.first()?.imgAttr() ?: ""

View File

@ -2,8 +2,8 @@ ext {
extName = 'Top Truyen' extName = 'Top Truyen'
extClass = '.TopTruyen' extClass = '.TopTruyen'
themePkg = 'wpcomics' themePkg = 'wpcomics'
baseUrl = 'https://www.toptruyenviet.info' baseUrl = 'https://www.toptruyenww.pro'
overrideVersionCode = 0 overrideVersionCode = 1
isNsfw = true isNsfw = true
} }

View File

@ -15,7 +15,7 @@ import java.util.Locale
class TopTruyen : WPComics( class TopTruyen : WPComics(
"Top Truyen", "Top Truyen",
"https://www.toptruyenviet.info", "https://www.toptruyenww.pro",
"vi", "vi",
dateFormat = SimpleDateFormat("dd-MM-yyyy", Locale.getDefault()), dateFormat = SimpleDateFormat("dd-MM-yyyy", Locale.getDefault()),
gmtOffset = null, gmtOffset = null,

View File

@ -2,8 +2,8 @@ ext {
extName = "UmeTruyen" extName = "UmeTruyen"
extClass = ".UmeTruyen" extClass = ".UmeTruyen"
themePkg = "manhwaz" themePkg = "manhwaz"
baseUrl = "https://umetruyenhay.net" baseUrl = "https://umetruyenhay.com"
overrideVersionCode = 2 overrideVersionCode = 3
isNsfw = true isNsfw = true
} }

View File

@ -4,7 +4,7 @@ import eu.kanade.tachiyomi.multisrc.manhwaz.ManhwaZ
class UmeTruyen : ManhwaZ( class UmeTruyen : ManhwaZ(
"UmeTruyen", "UmeTruyen",
"https://umetruyenhay.net", "https://umetruyenhay.com",
"vi", "vi",
mangaDetailsAuthorHeading = "Tác giả", mangaDetailsAuthorHeading = "Tác giả",
mangaDetailsStatusHeading = "Trạng thái", mangaDetailsStatusHeading = "Trạng thái",