Some fixes for the nhentai extension (#744)

Some fixes for the nhentai extension
This commit is contained in:
Micael Valentim 2019-01-26 19:43:09 -03:00 committed by Carlos
parent fb356de90e
commit 2d73414240
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: NHentai'
pkgNameSuffix = 'all.nhentai'
extClass = '.NHEnglish; .NHJapanese; .NHChinese'
extVersionCode = 4
extVersionCode = 5
libVersion = '1.2'
}

View File

@ -2,4 +2,4 @@ package eu.kanade.tachiyomi.extension.all.nhentai
import eu.kanade.tachiyomi.source.model.Filter
class SortFilter : Filter.Select<String>("Sort", arrayOf("Date", "Popular"))
class SortFilter : Filter.Select<String>("Sort", arrayOf("Popular", "Date"))

View File

@ -91,7 +91,7 @@ open class NHentai(override val lang: String, private val nhLang: String) : Pars
override fun popularMangaNextPageSelector() = "#content > section.pagination > a.next"
override fun popularMangaRequest(page: Int) = GET("$searchUrl/?q=+english&sort=popular")
override fun popularMangaRequest(page: Int) = GET("$baseUrl/language/$nhLang/popular?page=$page")
override fun popularMangaSelector() = "#content > div > div"