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' extName = 'Hiperdex'
extClass = '.Hiperdex' extClass = '.Hiperdex'
themePkg = 'madara' themePkg = 'madara'
baseUrl = 'https://hiperdex.top' baseUrl = 'https://hiperdex.com'
overrideVersionCode = 13 overrideVersionCode = 14
isNsfw = true isNsfw = true
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,46 @@
package eu.kanade.tachiyomi.extension.en.porncomix package eu.kanade.tachiyomi.extension.en.porncomix
import eu.kanade.tachiyomi.multisrc.madara.Madara 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' extName = 'Inmortal Scan'
extClass = '.InmortalScan' extClass = '.InmortalScan'
themePkg = 'madara' themePkg = 'madara'
baseUrl = 'https://manga.mundodrama.site' baseUrl = 'https://mg.mundodrama.site'
overrideVersionCode = 0 overrideVersionCode = 1
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -4,4 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale 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' extName = 'Jeaz Scans'
extClass = '.JeazScans' extClass = '.JeazScans'
themePkg = 'madara' themePkg = 'madara'
baseUrl = 'https://jeaz.twobluescans.com' baseUrl = 'https://marcialhub.xyz'
overrideVersionCode = 3 overrideVersionCode = 4
isNsfw = false isNsfw = false
} }

View File

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

View File

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

View File

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

View File

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

View File

@ -12,7 +12,7 @@ import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
import java.util.concurrent.TimeUnit 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() override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(10, 2, TimeUnit.SECONDS) .rateLimit(10, 2, TimeUnit.SECONDS)

View File

@ -2,8 +2,8 @@ ext {
extName = 'SyoSetu' extName = 'SyoSetu'
extClass = '.SyoSetu' extClass = '.SyoSetu'
themePkg = 'mangaraw' themePkg = 'mangaraw'
baseUrl = 'https://syosetu.top' baseUrl = 'https://syosetu.gs'
overrideVersionCode = 0 overrideVersionCode = 1
} }
apply from: "$rootDir/common.gradle" 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.multisrc.mangaraw.MangaRawTheme
import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.FilterList import eu.kanade.tachiyomi.source.model.FilterList
import okhttp3.HttpUrl.Companion.toHttpUrl
import okhttp3.Request import okhttp3.Request
import org.jsoup.nodes.Document import org.jsoup.nodes.Document
import org.jsoup.nodes.Element import org.jsoup.nodes.Element
import org.jsoup.select.Evaluator 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 // 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 override val supportsLatest = false
@ -24,8 +33,15 @@ class SyoSetu : MangaRawTheme("SyoSetu", "https://syosetu.top") {
override fun popularMangaSelector() = "article" override fun popularMangaSelector() = "article"
override fun popularMangaNextPageSelector() = ".next.page-numbers" override fun popularMangaNextPageSelector() = ".next.page-numbers"
override fun searchMangaRequest(page: Int, query: String, filters: FilterList) = override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
GET("$baseUrl/page/$page?s=$query") 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 = override fun Document.getSanitizedDetails(): Element =
selectFirst(Evaluator.Tag("article"))!!.selectFirst(Evaluator.Class("content-wrap-inner"))!!.apply { selectFirst(Evaluator.Tag("article"))!!.selectFirst(Evaluator.Class("content-wrap-inner"))!!.apply {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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