update domains (#4625)

* dualeotryuen: domain change

* hentaivn.plus: domain change

* hiperdex: domain change

* bruh

* InmortalScan: domain change

* Lami-Manga: domain change

* Magus Manga: domain change

* mangabtt: domain change

* manhwaland: domain change

* pojok manga: domain change

* porncomix: domain change

* nartag: domain change

* jeazscans: update domain

* syosetu: update domain

* fix porncomix

* fix redirect(?)

* space

* Revert "manhwaland: domain change"

This reverts commit 74eac55207e03a87fb3fbd579da0e14201fccdf4.

* bruh
This commit is contained in:
AwkwardPeak7 2024-08-15 09:16:55 +05:00 committed by Draff
parent 16e852a398
commit 4fe3fbd9c3
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
24 changed files with 93 additions and 36 deletions

View File

@ -2,8 +2,8 @@ ext {
extName = 'Hiperdex'
extClass = '.Hiperdex'
themePkg = 'madara'
baseUrl = 'https://hiperdex.top'
overrideVersionCode = 13
baseUrl = 'https://hiperdex.com'
overrideVersionCode = 14
isNsfw = true
}

View File

@ -17,7 +17,7 @@ import uy.kohesive.injekt.api.get
class Hiperdex :
Madara(
"Hiperdex",
"https://hiperdex.top",
"https://hiperdex.com",
"en",
),
ConfigurableSource {

View File

@ -2,8 +2,8 @@ ext {
extName = 'Magus Manga'
extClass = '.MagusManga'
themePkg = 'mangathemesia'
baseUrl = 'https://recipeslik.online'
overrideVersionCode = 6
baseUrl = 'https://oocini.biz'
overrideVersionCode = 7
}
apply from: "$rootDir/common.gradle"

View File

@ -13,7 +13,7 @@ import java.util.concurrent.TimeUnit
class MagusManga : MangaThemesiaAlt(
"Magus Manga",
"https://recipeslik.online",
"https://oocini.biz",
"en",
mangaUrlDirectory = "/series",
dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("en")),

View File

@ -1,7 +1,7 @@
ext {
extName = 'MangaBTT'
extClass = '.MangaBTT'
extVersionCode = 1
extVersionCode = 2
isNsfw = true
}

View File

@ -20,7 +20,7 @@ class MangaBTT : ParsedHttpSource() {
override val name = "MangaBTT"
override val baseUrl = "https://mangabtt.com"
override val baseUrl = "https://manhwalampo.com"
override val lang = "en"

View File

@ -2,8 +2,8 @@ ext {
extName = 'PornComix'
extClass = '.PornComix'
themePkg = 'madara'
baseUrl = 'https://www.porncomixonline.net'
overrideVersionCode = 1
baseUrl = 'https://porncomix.online'
overrideVersionCode = 2
isNsfw = true
}

View File

@ -1,5 +1,46 @@
package eu.kanade.tachiyomi.extension.en.porncomix
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.POST
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.source.model.SManga
import kotlinx.serialization.json.jsonArray
import kotlinx.serialization.json.jsonObject
import kotlinx.serialization.json.jsonPrimitive
import okhttp3.FormBody
import okhttp3.Request
import okhttp3.Response
class PornComix : Madara("PornComix", "https://www.porncomixonline.net", "en")
class PornComix : Madara("PornComix", " https://porncomix.online", "en") {
override val mangaSubString = "comic"
override val useNewChapterEndpoint = true
override val chapterUrlSuffix = ""
override val fetchGenres = false
override fun getFilterList() = FilterList()
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
val form = FormBody.Builder().apply {
add("action", "wp-manga-search-manga")
add("title", query)
}.build()
return POST("$baseUrl/wp-admin/admin-ajax.php", xhrHeaders, form)
}
override fun searchMangaParse(response: Response): MangasPage {
val data = json.parseToJsonElement(response.body.string())
val entries = data.jsonObject["data"]!!.jsonArray.filter {
it.jsonObject["type"]!!.jsonPrimitive.content == "manga"
}.map {
val obj = it.jsonObject
SManga.create().apply {
title = obj["title"]!!.jsonPrimitive.content
setUrlWithoutDomain(obj["url"]!!.jsonPrimitive.content)
}
}
return MangasPage(entries, false)
}
}

View File

@ -2,8 +2,8 @@ ext {
extName = 'Inmortal Scan'
extClass = '.InmortalScan'
themePkg = 'madara'
baseUrl = 'https://manga.mundodrama.site'
overrideVersionCode = 0
baseUrl = 'https://mg.mundodrama.site'
overrideVersionCode = 1
}
apply from: "$rootDir/common.gradle"

View File

@ -4,4 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class InmortalScan : Madara("Inmortal Scan", "https://manga.mundodrama.site", "es", SimpleDateFormat("MMMM d, yyyy", Locale("es")))
class InmortalScan : Madara("Inmortal Scan", "https://mg.mundodrama.site", "es", SimpleDateFormat("MMMM d, yyyy", Locale("es")))

View File

@ -2,8 +2,8 @@ ext {
extName = 'Jeaz Scans'
extClass = '.JeazScans'
themePkg = 'madara'
baseUrl = 'https://jeaz.twobluescans.com'
overrideVersionCode = 3
baseUrl = 'https://marcialhub.xyz'
overrideVersionCode = 4
isNsfw = false
}

View File

@ -8,7 +8,7 @@ import java.util.Locale
class JeazScans : Madara(
"JeazScans",
"https://jeaz.twobluescans.com",
"https://marcialhub.xyz",
"es",
SimpleDateFormat("d MMMM, yyyy", Locale("es")),
) {

View File

@ -1,7 +1,7 @@
ext {
extName = 'Traducciones Amistosas'
extClass = '.Nartag'
extVersionCode = 2
extVersionCode = 3
isNsfw = true
}

View File

@ -20,7 +20,7 @@ class Nartag : ParsedHttpSource() {
override val name = "Traducciones Amistosas"
override val baseUrl = "https://nartag.com"
override val baseUrl = "https://visortraduccionesamistosas.com"
override val lang = "es"

View File

@ -2,8 +2,8 @@ ext {
extName = 'Pojok Manga'
extClass = '.PojokManga'
themePkg = 'madara'
baseUrl = 'https://pojokmanga.org'
overrideVersionCode = 6
baseUrl = 'https://pojokmanga.info'
overrideVersionCode = 7
}
apply from: "$rootDir/common.gradle"

View File

@ -12,7 +12,7 @@ import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class PojokManga : Madara("Pojok Manga", "https://pojokmanga.org", "id", SimpleDateFormat("MMM dd, yyyy", Locale.US)) {
class PojokManga : Madara("Pojok Manga", "https://pojokmanga.info", "id", SimpleDateFormat("MMM dd, yyyy", Locale.US)) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(10, 2, TimeUnit.SECONDS)

View File

@ -2,8 +2,8 @@ ext {
extName = 'SyoSetu'
extClass = '.SyoSetu'
themePkg = 'mangaraw'
baseUrl = 'https://syosetu.top'
overrideVersionCode = 0
baseUrl = 'https://syosetu.gs'
overrideVersionCode = 1
}
apply from: "$rootDir/common.gradle"

View File

@ -3,14 +3,23 @@ package eu.kanade.tachiyomi.extension.ja.syosetu
import eu.kanade.tachiyomi.multisrc.mangaraw.MangaRawTheme
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.FilterList
import okhttp3.HttpUrl.Companion.toHttpUrl
import okhttp3.Request
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
import org.jsoup.select.Evaluator
class SyoSetu : MangaRawTheme("SyoSetu", "https://syosetu.top") {
class SyoSetu : MangaRawTheme("SyoSetu", "https://syosetu.gs") {
// syosetu.top doesn't have a popular manga page redirect to latest manga request
override fun popularMangaRequest(page: Int): Request = latestUpdatesRequest(page)
override fun popularMangaRequest(page: Int): Request {
val url = baseUrl + if (page > 1) {
"/page/$page/"
} else {
""
}
return GET(url, headers)
}
override val supportsLatest = false
@ -24,8 +33,15 @@ class SyoSetu : MangaRawTheme("SyoSetu", "https://syosetu.top") {
override fun popularMangaSelector() = "article"
override fun popularMangaNextPageSelector() = ".next.page-numbers"
override fun searchMangaRequest(page: Int, query: String, filters: FilterList) =
GET("$baseUrl/page/$page?s=$query")
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
val url = baseUrl.toHttpUrl().newBuilder().apply {
if (page > 1) {
addPathSegments("page/$page/")
}
addQueryParameter("s", query)
}.build()
return GET(url, headers)
}
override fun Document.getSanitizedDetails(): Element =
selectFirst(Evaluator.Tag("article"))!!.selectFirst(Evaluator.Class("content-wrap-inner"))!!.apply {

View File

@ -2,8 +2,8 @@ ext {
extName = 'Lami-Manga'
extClass = '.LamiManga'
themePkg = 'mangathemesia'
baseUrl = 'https://www.lami-manga.com'
overrideVersionCode = 0
baseUrl = 'https://mangalami.com'
overrideVersionCode = 1
isNsfw = true
}

View File

@ -6,7 +6,7 @@ import java.util.Locale
class LamiManga : MangaThemesia(
"Lami-Manga",
"https://www.lami-manga.com",
"https://mangalami.com",
"th",
dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale("th")),
)

View File

@ -1,7 +1,7 @@
ext {
extName = "Dua Leo Truyen"
extClass = ".DuaLeoTruyen"
extVersionCode = 3
extVersionCode = 4
isNsfw = true
}

View File

@ -22,7 +22,7 @@ class DuaLeoTruyen : ParsedHttpSource() {
override val name = "Dưa Leo Truyện"
override val baseUrl = "https://dualeotruyenkk.com"
override val baseUrl = "https://dualeotruyenbi.com"
override val lang = "vi"

View File

@ -2,8 +2,8 @@ ext {
extName = 'HentaiVN.plus'
extClass = '.HentaiVNPlus'
themePkg = 'madara'
baseUrl = 'https://hentaivn.plus'
overrideVersionCode = 0
baseUrl = 'https://hentaivn.cafe'
overrideVersionCode = 1
isNsfw = true
}

View File

@ -6,7 +6,7 @@ import java.util.Locale
class HentaiVNPlus : Madara(
"HentaiVN.plus",
"https://hentaivn.plus",
"https://hentaivn.cafe",
"vi",
dateFormat = SimpleDateFormat("MM/dd/yyyy", Locale.ROOT),
) {