parent
f1428f8938
commit
699740accb
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Read Mangas'
|
extName = 'Read Mangas'
|
||||||
extClass = '.ReadMangas'
|
extClass = '.ReadMangas'
|
||||||
extVersionCode = 33
|
extVersionCode = 34
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -73,7 +73,7 @@ class ReadMangas() : HttpSource() {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
val url = "$baseUrl/api/trpc/manga.getAllManga?batch=1".toHttpUrl().newBuilder()
|
val url = "$baseUrl/api/deprecated/manga.getAllManga?batch=1".toHttpUrl().newBuilder()
|
||||||
.addQueryParameter("batch", "1")
|
.addQueryParameter("batch", "1")
|
||||||
.addQueryParameter("input", input.toString())
|
.addQueryParameter("input", input.toString())
|
||||||
.build()
|
.build()
|
||||||
|
@ -111,7 +111,7 @@ class ReadMangas() : HttpSource() {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
val url = "$baseUrl/api/trpc/discover.updated".toHttpUrl().newBuilder()
|
val url = "$baseUrl/api/deprecated/discover.updated".toHttpUrl().newBuilder()
|
||||||
.addQueryParameter("batch", "1")
|
.addQueryParameter("batch", "1")
|
||||||
.addQueryParameter("input", input.toString())
|
.addQueryParameter("input", input.toString())
|
||||||
.build()
|
.build()
|
||||||
|
@ -127,7 +127,7 @@ class ReadMangas() : HttpSource() {
|
||||||
// =========================== Search =================================
|
// =========================== Search =================================
|
||||||
|
|
||||||
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
|
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
|
||||||
val url = "$baseUrl/api/trpc/discover.search?batch=1"
|
val url = "$baseUrl/api/deprecated/discover.search?batch=1"
|
||||||
val payload = buildJsonObject {
|
val payload = buildJsonObject {
|
||||||
put(
|
put(
|
||||||
"0",
|
"0",
|
||||||
|
@ -194,7 +194,7 @@ class ReadMangas() : HttpSource() {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
val url = "$baseUrl/api/trpc/chapter.publicAllChapters".toHttpUrl().newBuilder()
|
val url = "$baseUrl/api/deprecated/chapter.publicAllChapters".toHttpUrl().newBuilder()
|
||||||
.addQueryParameter("batch", "1")
|
.addQueryParameter("batch", "1")
|
||||||
.addQueryParameter("input", input.toString())
|
.addQueryParameter("input", input.toString())
|
||||||
.build()
|
.build()
|
||||||
|
|
Loading…
Reference in New Issue