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 sources domain #1254

Merged
merged 18 commits into from
Nov 23, 2024
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import org.koitharu.kotatsu.parsers.util.json.getBooleanOrDefault

@MangaSourceParser("DOCTRUYEN5S", "DocTruyen5s", "vi")
internal class DocTruyen5s(context: MangaLoaderContext) :
LilianaParser(context, MangaParserSource.DOCTRUYEN5S, "dongmoe.com", pageSize = 42) {
LilianaParser(context, MangaParserSource.DOCTRUYEN5S, "manga.io.vn", pageSize = 42) {

override suspend fun getPages(chapter: MangaChapter): List<MangaPage> {
val fullUrl = chapter.url.toAbsoluteUrl(domain)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser

@MangaSourceParser("MANGARBIC", "MangaArabic", "ar")
internal class Mangarbic(context: MangaLoaderContext) :
MadaraParser(context, MangaParserSource.MANGARBIC, "mangarabic.com") {
MadaraParser(context, MangaParserSource.MANGARBIC, "lekmanga.net") {
override val postReq = true
override val datePattern = "yyyy/MM/dd"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser

@MangaSourceParser("HENTAIVNPLUS", "HentaiVnPlus", "vi", ContentType.HENTAI)
internal class HentaiVnPlus(context: MangaLoaderContext) :
MadaraParser(context, MangaParserSource.HENTAIVNPLUS, "hentaivn.mom", 24) {
MadaraParser(context, MangaParserSource.HENTAIVNPLUS, "hentaivn.now", 24) {
override val listUrl = "truyen-hentai/"
override val tagPrefix = "the-loai/"
override val datePattern = "dd/MM/yyyy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.koitharu.kotatsu.parsers.util.*

@MangaSourceParser("TRUYENTRANHDAMMYY", "TruyenTranhDamMyy", "vi")
internal class TruyenTranhDamMyy(context: MangaLoaderContext) :
MadaraParser(context, MangaParserSource.TRUYENTRANHDAMMYY, "truyennhameo.com") {
MadaraParser(context, MangaParserSource.TRUYENTRANHDAMMYY, "truyentranhdammyy.site") {
override val postReq = true
override suspend fun loadChapters(mangaUrl: String, document: Document): List<MangaChapter> {
val mangaId = document.select("div#manga-chapters-holder").attr("data-id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser

@MangaSourceParser("TRUYENVN", "TruyenVn", "vi", ContentType.HENTAI)
internal class TruyenVn(context: MangaLoaderContext) :
MadaraParser(context, MangaParserSource.TRUYENVN, "truyenvn.wiki", 20) {
MadaraParser(context, MangaParserSource.TRUYENVN, "truyenvn.vin", 20) {
override val listUrl = "truyen-tranh/"
override val tagPrefix = "the-loai/"
override val datePattern = "dd/MM/yyyy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.koitharu.kotatsu.parsers.site.otakusanctuary.OtakuSanctuaryParser

@MangaSourceParser("OTAKUSAN_EN", "OtakuSan-En", "en")
internal class OtakusanEn(context: MangaLoaderContext) :
OtakuSanctuaryParser(context, MangaParserSource.OTAKUSAN_EN, "otakusan1.net") {
OtakuSanctuaryParser(context, MangaParserSource.OTAKUSAN_EN, "otakusan.me") {
override val lang = "us"
override val selectState = ".table-info tr:contains(Status) td"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.koitharu.kotatsu.parsers.site.otakusanctuary.OtakuSanctuaryParser

@MangaSourceParser("OTAKUSAN_VI", "OtakuSan-Vi", "vi")
internal class OtakusanVi(context: MangaLoaderContext) :
OtakuSanctuaryParser(context, MangaParserSource.OTAKUSAN_VI, "otakusan1.net") {
OtakuSanctuaryParser(context, MangaParserSource.OTAKUSAN_VI, "otakusan.me") {
override val selectState = ".table-info tr:contains(Status) td"
override val lang = "vn"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ import org.koitharu.kotatsu.parsers.network.UserAgents
import org.koitharu.kotatsu.parsers.util.*
import java.text.SimpleDateFormat
import java.util.*
import org.koitharu.kotatsu.parsers.Broken

@Broken
@MangaSourceParser("BLOGTRUYEN", "BlogTruyen", "vi")
internal class BlogTruyenParser(context: MangaLoaderContext) :
PagedMangaParser(context, MangaParserSource.BLOGTRUYEN, pageSize = 20) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ internal class CuuTruyenParser(context: MangaLoaderContext) :
"nettrom.com",
"hetcuutruyen.net",
"cuutruyenpip7z.site",
"cuutruyen5c844.site",
)

override fun onCreateConfig(keys: MutableCollection<ConfigKey<*>>) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private const val SEARCH_PAGE_SIZE = 10
@MangaSourceParser("HENTAIVN", "HentaiVN", "vi", type = ContentType.HENTAI)
internal class HentaiVNParser(context: MangaLoaderContext) : MangaParser(context, MangaParserSource.HENTAIVN) {

override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain("hentaihvn.tv", "ayamehentai.cc")
override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain("hentaihvn.tv")

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("LXMANGA", "LxManga", "vi", type = ContentType.HENTAI)
internal class LxManga(context: MangaLoaderContext) : PagedMangaParser(context, MangaParserSource.LXMANGA, 60) {

override val configKeyDomain = ConfigKey.Domain("lxmanga.site")
override val configKeyDomain = ConfigKey.Domain("lxmanga.store")

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

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

override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain(
"doctruyen3qw.pro", "doctruyen3qvip.com", "doctruyen3q.link",
"doctruyen3qk.pro", "doctruyen3qw.pro", "doctruyen3qvip.com", "truyen3qvip.com",
)

override val datePattern = "dd/MM/yyyy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ import org.koitharu.kotatsu.parsers.model.*
import org.koitharu.kotatsu.parsers.site.wpcomics.WpComicsParser
import org.koitharu.kotatsu.parsers.util.*
import java.util.*
import org.koitharu.kotatsu.parsers.Broken

@Broken
@MangaSourceParser("NETTRUYENHE", "NetTruyenHE", "vi")
internal class NetTruyenHE(context: MangaLoaderContext) :
WpComicsParser(context, MangaParserSource.NETTRUYENHE, "nettruyenhe.com", 20) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import java.util.EnumSet

@MangaSourceParser("NETTRUYENLL", "NetTruyenLL", "vi")
internal class NetTruyenLL(context: MangaLoaderContext) :
WpComicsParser(context, MangaParserSource.NETTRUYENLL, "nettruyenuu.com", 20) {
WpComicsParser(context, MangaParserSource.NETTRUYENLL, "nettruyenok.com", 20) {

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

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

@MangaSourceParser("NETTRUYENSSR", "NetTruyenSSR", "vi")
internal class NetTruyenSSR(context: MangaLoaderContext) :
WpComicsParser(context, MangaParserSource.NETTRUYENSSR, "nettruyenssr.com", 20) {
WpComicsParser(context, MangaParserSource.NETTRUYENSSR, "nettruyenok.com", 20) {

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

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

@MangaSourceParser("NETTRUYENUU", "NetTruyenUU", "vi")
internal class NetTruyenUU(context: MangaLoaderContext) :
WpComicsParser(context, MangaParserSource.NETTRUYENUU, "nettruyenuu.com", 20) {
WpComicsParser(context, MangaParserSource.NETTRUYENUU, "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,9 +14,9 @@ import java.util.*

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

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

private val selectChap = "ul#asc li.row:not(.heading)"

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

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

override val datePattern = "dd/MM/yyyy"

Expand Down