TruyenQQ, NhatTruyen and Nettruyen domain change (#9064)

* Update build.gradle

* Update TruyenQQ.kt

* Update WPComicsGenerator.kt

* Update NhatTruyen.kt

* Update NetTruyen.kt
This commit is contained in:
Clouddark75 2021-09-14 12:21:44 -04:00 committed by GitHub
parent c4c4af5430
commit ccffd61b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

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

@ -14,8 +14,8 @@ class WPComicsGenerator : ThemeSourceGenerator {
override val sources = listOf(
MultiLang("MangaToro", "https://mangatoro.com", listOf("en", "ja")),
SingleLang("NetTruyen", "http://www.nettruyenvip.com", "vi", overrideVersionCode = 4),
SingleLang("NhatTruyen", "http://nhattruyenhay.com", "vi", overrideVersionCode = 4),
SingleLang("NetTruyen", "http://www.nettruyenpro.com", "vi", overrideVersionCode = 5),
SingleLang("NhatTruyen", "http://www.nettruyenvip.com", "vi", overrideVersionCode = 5),
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 = 'TruyenQQ'
pkgNameSuffix = 'vi.truyenqq'
extClass = '.TruyenQQ'
extVersionCode = 4
extVersionCode = 5
}
apply from: "$rootDir/common.gradle"

View File

@ -22,7 +22,7 @@ class TruyenQQ : ParsedHttpSource() {
override val lang: String = "vi"
override val baseUrl: String = "https://truyenqq.net"
override val baseUrl: String = "https://truyenqqtop.com"
override val supportsLatest: Boolean = true