Update domain Hentai20, Hentaidexy, Nhattruyen, Nettruyen, HentaiVN (#14478)

* Update domain Hentai20, Hentaidexy

* Update domain Nhattruyen, Netttruyen

* Update BaseUrl Hentaivn
This commit is contained in:
are-are-are 2022-12-09 08:38:14 +07:00 committed by GitHub
parent a9cac11f86
commit 454b98b8aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 10 deletions

View File

@ -5,7 +5,7 @@ import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
class Hentai20 : Madara("Hentai20", "https://hentai20s.com", "en") {
class Hentai20 : Madara("Hentai20", "https://hentai20.io", "en") {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 1, TimeUnit.SECONDS)

View File

@ -5,7 +5,7 @@ import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
class Hentaidexy : Madara("Hentaidexy", "https://hentaidexy.com", "en") {
class Hentaidexy : Madara("Hentaidexy", "https://hentaidexy.net", "en") {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 1, TimeUnit.SECONDS)

View File

@ -9,7 +9,7 @@ import okhttp3.Request
import java.text.SimpleDateFormat
import java.util.Locale
class NetTruyen : WPComics("NetTruyen", "https://www.nettruyentv.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) {
class NetTruyen : WPComics("NetTruyen", "https://www.nettruyenmin.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) {
override fun headersBuilder(): Headers.Builder = Headers.Builder()
override fun imageRequest(page: Page): Request = GET(page.imageUrl!!, headersBuilder().add("Referer", baseUrl).build())
override fun getFilterList(): FilterList {

View File

@ -9,7 +9,7 @@ import okhttp3.Request
import java.text.SimpleDateFormat
import java.util.Locale
class NhatTruyen : WPComics("NhatTruyen", "https://nhattruyentv.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) {
class NhatTruyen : WPComics("NhatTruyen", "https://nhattruyenmin.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) {
override fun headersBuilder(): Headers.Builder = Headers.Builder()
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request = GET("$baseUrl/the-loai?keyword=$query&page=$page", headers)
override fun imageRequest(page: Page): Request = GET(page.imageUrl!!, headersBuilder().add("Referer", baseUrl).build())

View File

@ -130,8 +130,8 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Hentai CB", "https://hentaicb.xyz", "vi", isNsfw = true, overrideVersionCode = 2, pkgName = "hentaicube"),
SingleLang("Hentai Manga", "https://hentaimanga.me", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("Hentai Teca", "https://hentaiteca.net", "pt-BR", isNsfw = true, overrideVersionCode = 1),
SingleLang("Hentai20", "https://hentai20s.com", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("Hentaidexy", "https://hentaidexy.com", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("Hentai20", "https://hentai20.io", "en", isNsfw = true, overrideVersionCode = 3),
SingleLang("Hentaidexy", "https://hentaidexy.net", "en", isNsfw = true, overrideVersionCode = 3),
SingleLang("HentaiRead", "https://hentairead.com", "en", isNsfw = true, className = "Hentairead", overrideVersionCode = 3),
SingleLang("HentaiWebtoon", "https://hentaiwebtoon.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("HentaiXComic", "https://hentaixcomic.com", "en", isNsfw = true),

View File

@ -12,8 +12,8 @@ class WPComicsGenerator : ThemeSourceGenerator {
override val baseVersionCode: Int = 2
override val sources = listOf(
SingleLang("NetTruyen", "https://www.nettruyentv.com", "vi", overrideVersionCode = 12),
SingleLang("NhatTruyen", "https://nhattruyentv.com", "vi", overrideVersionCode = 10),
SingleLang("NetTruyen", "https://www.nettruyenmin.com", "vi", overrideVersionCode = 13),
SingleLang("NhatTruyen", "https://nhattruyenmin.com", "vi", overrideVersionCode = 11),
SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 3),
SingleLang("XOXO Comics", "https://xoxocomics.com", "en", className = "XoxoComics", overrideVersionCode = 1),
)

View File

@ -5,7 +5,7 @@ ext {
extName = 'HentaiVN'
pkgNameSuffix = 'vi.hentaivn'
extClass = '.HentaiVN'
extVersionCode = 15
extVersionCode = 16
isNsfw = true
}

View File

@ -23,7 +23,7 @@ import java.util.Locale
class HentaiVN : ParsedHttpSource() {
override val baseUrl = "https://hentaivn.in"
override val baseUrl = "https://hentaivn.life"
override val lang = "vi"
override val name = "HentaiVN"
override val supportsLatest = true