NetTruyen: update domain (#11131)

This commit is contained in:
Vetle Ledaal 2022-03-16 17:17:20 +00:00 committed by GitHub
parent 28be79bba2
commit c16dc8c086
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.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
class NetTruyen : WPComics("NetTruyen", "http://www.nettruyengo.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) { class NetTruyen : WPComics("NetTruyen", "http://www.nettruyenmoi.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 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())
override fun getFilterList(): FilterList { override fun getFilterList(): FilterList {

View File

@ -14,7 +14,7 @@ class WPComicsGenerator : ThemeSourceGenerator {
override val sources = listOf( override val sources = listOf(
MultiLang("MangaToro", "https://mangatoro.com", listOf("en", "ja"), overrideVersionCode = 1), MultiLang("MangaToro", "https://mangatoro.com", listOf("en", "ja"), overrideVersionCode = 1),
SingleLang("NetTruyen", "http://www.nettruyengo.com", "vi", overrideVersionCode = 6), SingleLang("NetTruyen", "http://www.nettruyenmoi.com", "vi", overrideVersionCode = 7),
SingleLang("NhatTruyen", "http://www.nhattruyenvip.com", "vi", overrideVersionCode = 6), SingleLang("NhatTruyen", "http://www.nhattruyenvip.com", "vi", overrideVersionCode = 6),
SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 3), SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 3),
SingleLang("XOXO Comics", "https://xoxocomics.com", "en", className = "XoxoComics", overrideVersionCode = 1), SingleLang("XOXO Comics", "https://xoxocomics.com", "en", className = "XoxoComics", overrideVersionCode = 1),