Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update domain + Refactor #1280

Merged
merged 4 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/summary.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
total: 1154
total: 1154
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import org.koitharu.kotatsu.parsers.util.*

@MangaSourceParser("QUAANHDAOCUTEO", "Quaanhdaocuteo", "vi", ContentType.HENTAI)
internal class Quaanhdaocuteo(context: MangaLoaderContext) :
MadaraParser(context, MangaParserSource.QUAANHDAOCUTEO, "qadc.xyz") {
MadaraParser(context, MangaParserSource.QUAANHDAOCUTEO, "quaanhdaocuteo.xyz") {
override val datePattern = "dd/MM/yyyy"
override val selectPage = "p img"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import java.util.*
@MangaSourceParser("YURINEKO", "YuriNeko", "vi", ContentType.HENTAI)
internal class YurinekoParser(context: MangaLoaderContext) : PagedMangaParser(context, MangaParserSource.YURINEKO, 20) {
override val configKeyDomain: ConfigKey.Domain
get() = ConfigKey.Domain("yurineko.moe")
get() = ConfigKey.Domain("yurineko.my")

override fun onCreateConfig(keys: MutableCollection<ConfigKey<*>>) {
super.onCreateConfig(keys)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import java.util.*

@MangaSourceParser("DOCTRUYEN3Q", "DocTruyen3Q", "vi")
internal class DocTruyen3Q(context: MangaLoaderContext) :
WpComicsParser(context, MangaParserSource.DOCTRUYEN3Q, "doctruyen3qk.pro", 36) {
WpComicsParser(context, MangaParserSource.DOCTRUYEN3Q, 36) {

override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain(
"doctruyen3qk.pro", "doctruyen3qw.pro", "doctruyen3qvip.com", "truyen3qvip.com",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.koitharu.kotatsu.parsers.site.wpcomics.WpComicsParser

@MangaSourceParser("NETTRUYEN", "NetTruyen", "vi")
internal class NetTruyen(context: MangaLoaderContext) :
WpComicsParser(context, MangaParserSource.NETTRUYEN, "nettruyenww.com", 44) {
WpComicsParser(context, MangaParserSource.NETTRUYEN, 44) {
override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain(
"nettruyenww.com", "nettruyenx.com",
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import java.util.EnumSet

@MangaSourceParser("NETTRUYENFE", "NetTruyenFE", "vi")
internal class NetTruyenFE(context: MangaLoaderContext) :
WpComicsParser(context, MangaParserSource.NETTRUYENFE, "nettruyenfe.com", 20) {
WpComicsParser(context, MangaParserSource.NETTRUYENFE, "nettruyenok.com", 20) {

override val listUrl = "/tim-kiem-nang-cao"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import java.util.*

@MangaSourceParser("NHATTRUYENVN", "NhatTruyenVN", "vi")
internal class NhatTruyenVN(context: MangaLoaderContext) :
WpComicsParser(context, MangaParserSource.NHATTRUYENVN, "nhattruyenv.com", 36) {
WpComicsParser(context, MangaParserSource.NHATTRUYENVN, 36) {

override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain("nhattruyenv.com", "www.nhattruyenss.net")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ import org.jsoup.nodes.Document
import org.koitharu.kotatsu.parsers.MangaLoaderContext
import org.koitharu.kotatsu.parsers.MangaSourceParser
import org.koitharu.kotatsu.parsers.site.wpcomics.WpComicsParser
import org.koitharu.kotatsu.parsers.config.ConfigKey
import org.koitharu.kotatsu.parsers.model.*
import org.koitharu.kotatsu.parsers.util.*
import java.text.SimpleDateFormat
import java.util.*

@MangaSourceParser("TOPTRUYEN", "TopTruyen", "vi")
internal class TopTruyen(context: MangaLoaderContext) :
WpComicsParser(context, MangaParserSource.TOPTRUYEN, "www.toptruyento.pro", 36) {
WpComicsParser(context, MangaParserSource.TOPTRUYEN, 36) {

override val configKeyDomain = ConfigKey.Domain(
"www.toptruyento.pro",
"www.toptruyenpro1.com"
)

override val datePattern = "dd/MM/yyyy"

Expand Down
Loading