Update domain for NhatTruyen (#220)
CI / Prepare job (push) Successful in 14s Details
CI / Build multisrc modules (push) Successful in 6m9s Details
CI / Build individual modules (push) Successful in 1m12s Details
CI / Publish repo (push) Successful in 3m2s Details

This commit is contained in:
Vetle Ledaal 2024-01-13 18:47:50 +00:00 committed by Draff
parent 76a7c8c54a
commit c353c9a780
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import okhttp3.Request
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
class NhatTruyen : WPComics("NhatTruyen", "https://nhattruyenmax.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) { class NhatTruyen : WPComics("NhatTruyen", "https://nhattruyento.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) {
override fun headersBuilder(): Headers.Builder = Headers.Builder() 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 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()) override fun imageRequest(page: Page): Request = GET(page.imageUrl!!, headersBuilder().add("Referer", baseUrl).build())

View File

@ -13,7 +13,7 @@ class WPComicsGenerator : ThemeSourceGenerator {
override val sources = listOf( override val sources = listOf(
SingleLang("NetTruyen", "https://www.nettruyenclub.com", "vi", overrideVersionCode = 21), SingleLang("NetTruyen", "https://www.nettruyenclub.com", "vi", overrideVersionCode = 21),
SingleLang("NhatTruyen", "https://nhattruyenmax.com", "vi", overrideVersionCode = 13), SingleLang("NhatTruyen", "https://nhattruyento.com", "vi", overrideVersionCode = 14),
SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 3), SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 3),
SingleLang("XOXO Comics", "https://xoxocomic.com", "en", className = "XoxoComics", overrideVersionCode = 3), SingleLang("XOXO Comics", "https://xoxocomic.com", "en", className = "XoxoComics", overrideVersionCode = 3),
) )