Change Nettruyen domain name (#15679)

* Update Nettruyen domain

* Update Nettruyen domain

* Update WPComicsGenerator.kt
This commit is contained in:
Noobuster 2023-03-14 01:35:14 +07:00 committed by GitHub
parent 4aa0bb218a
commit 8a623f9855
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import okhttp3.Request
import java.text.SimpleDateFormat
import java.util.Locale
class NetTruyen : WPComics("NetTruyen", "https://www.nettruyenking.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) {
class NetTruyen : WPComics("NetTruyen", "https://www.nettruyenup.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

@ -12,7 +12,7 @@ class WPComicsGenerator : ThemeSourceGenerator {
override val baseVersionCode: Int = 2
override val sources = listOf(
SingleLang("NetTruyen", "https://www.nettruyenking.com", "vi", overrideVersionCode = 14),
SingleLang("NetTruyen", "https://www.nettruyenup.com", "vi", overrideVersionCode = 15),
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),