Mangadex: Filter Popular to show only Manga TLd in that particular lang (#10033)
* show only manga TLd in `dexLang` in Popular * increment mangadex.versioncode
This commit is contained in:
parent
2a527f6074
commit
3f884c8248
@ -6,7 +6,7 @@ ext {
|
||||
extName = 'MangaDex'
|
||||
pkgNameSuffix = 'all.mangadex'
|
||||
extClass = '.MangaDexFactory'
|
||||
extVersionCode = 144
|
||||
extVersionCode = 145
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -63,6 +63,7 @@ abstract class MangaDex(override val lang: String, val dexLang: String) :
|
||||
override fun popularMangaRequest(page: Int): Request {
|
||||
val url = MDConstants.apiMangaUrl.toHttpUrl().newBuilder().apply {
|
||||
addQueryParameter("order[followedCount]", "desc")
|
||||
addQueryParameter("availableTranslatedLanguage[]", dexLang)
|
||||
addQueryParameter("limit", MDConstants.mangaLimit.toString())
|
||||
addQueryParameter("offset", helper.getMangaListOffset(page))
|
||||
addQueryParameter("includes[]", MDConstants.coverArt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user