NetTruyen and NhatTruyen urls (#8099)
* Update WPComicsGenerator.kt * Update NetTruyen.kt * Update NhatTruyen.kt * Update WPComicsGenerator.kt
This commit is contained in:
parent
2d3756642c
commit
69ca099849
|
@ -8,7 +8,7 @@ import okhttp3.Request
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class NetTruyen : WPComics("NetTruyen", "http://www.nettruyentop.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) {
|
||||
class NetTruyen : WPComics("NetTruyen", "http://www.nettruyenvip.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) {
|
||||
override fun imageRequest(page: Page): Request = GET(page.imageUrl!!, headersBuilder().add("Referer", baseUrl).build())
|
||||
override fun getFilterList(): FilterList {
|
||||
return FilterList(
|
||||
|
|
|
@ -8,7 +8,7 @@ import okhttp3.Request
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class NhatTruyen : WPComics("NhatTruyen", "http://nhattruyentranh.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) {
|
||||
class NhatTruyen : WPComics("NhatTruyen", "http://nhattruyenhay.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) {
|
||||
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())
|
||||
}
|
||||
|
|
|
@ -14,8 +14,8 @@ class WPComicsGenerator : ThemeSourceGenerator {
|
|||
|
||||
override val sources = listOf(
|
||||
MultiLang("MangaToro", "https://mangatoro.com", listOf("en", "ja")),
|
||||
SingleLang("NetTruyen", "http://www.nettruyentop.com", "vi", overrideVersionCode = 2),
|
||||
SingleLang("NhatTruyen", "http://nhattruyentranh.com", "vi", overrideVersionCode = 2),
|
||||
SingleLang("NetTruyen", "http://www.nettruyenvip.com", "vi", overrideVersionCode = 3),
|
||||
SingleLang("NhatTruyen", "http://nhattruyenhay.com", "vi", overrideVersionCode = 3),
|
||||
SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 1),
|
||||
SingleLang("XOXO Comics", "https://xoxocomics.com", "en", className = "XoxoComics", overrideVersionCode = 1),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue