Change to new URL (#11762)
This commit is contained in:
parent
9bff18b1fd
commit
c9edc9eb42
|
@ -6,7 +6,7 @@ ext {
|
||||||
extName = 'Nekopost'
|
extName = 'Nekopost'
|
||||||
pkgNameSuffix = 'th.nekopost'
|
pkgNameSuffix = 'th.nekopost'
|
||||||
extClass = '.Nekopost'
|
extClass = '.Nekopost'
|
||||||
extVersionCode = 7
|
extVersionCode = 8
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,10 +30,10 @@ class Nekopost : ParsedHttpSource() {
|
||||||
override val baseUrl: String = "https://www.nekopost.net/manga/"
|
override val baseUrl: String = "https://www.nekopost.net/manga/"
|
||||||
|
|
||||||
private val latestMangaEndpoint: String =
|
private val latestMangaEndpoint: String =
|
||||||
"https://uatapi.nekopost.net/frontAPI/getLatestChapter/m"
|
"https://api.osemocphoto.com/frontAPI/getLatestChapter/m"
|
||||||
private val projectDataEndpoint: String =
|
private val projectDataEndpoint: String =
|
||||||
"https://uatapi.nekopost.net/frontAPI/getProjectInfo"
|
"https://api.osemocphoto.com/frontAPI/getProjectInfo"
|
||||||
private val fileHost: String = "https://fs.nekopost.net"
|
private val fileHost: String = "https://www.osemocphoto.com"
|
||||||
|
|
||||||
override val client: OkHttpClient = network.cloudflareClient
|
override val client: OkHttpClient = network.cloudflareClient
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ class Nekopost : ParsedHttpSource() {
|
||||||
override fun popularMangaRequest(page: Int): Request {
|
override fun popularMangaRequest(page: Int): Request {
|
||||||
if (page <= 1) existingProject.clear()
|
if (page <= 1) existingProject.clear()
|
||||||
|
|
||||||
return GET("$latestMangaEndpoint/${page - 1}")
|
return GET("$latestMangaEndpoint/$page")
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun popularMangaParse(response: Response): MangasPage {
|
override fun popularMangaParse(response: Response): MangasPage {
|
||||||
|
|
Loading…
Reference in New Issue