[RU]Newbie fix json error + (#9777)

expanding the popular list
This commit is contained in:
e-shl 2021-11-09 23:18:09 +05:00 committed by GitHub
parent 2f0e065d10
commit 5bdb0b1e77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Newbie'
pkgNameSuffix = 'ru.newbie'
extClass = '.Newbie'
extVersionCode = 1
extVersionCode = 2
}
dependencies {

View File

@ -65,7 +65,7 @@ class Newbie : HttpSource() {
private val count = 30
override fun popularMangaRequest(page: Int) = GET("$API_URL/projects/popular?scale=week&size=$count&page=$page", headers)
override fun popularMangaRequest(page: Int) = GET("$API_URL/projects/popular?scale=month&size=$count&page=$page", headers)
override fun popularMangaParse(response: Response): MangasPage = searchMangaParse(response)

View File

@ -53,7 +53,7 @@ data class MangaDetDto(
val type: String,
val status: String,
val rating: Float,
val adult: String
val adult: String?
)
@Serializable