Some fixes for the nhentai extension (#744)
Some fixes for the nhentai extension
This commit is contained in:
parent
fb356de90e
commit
2d73414240
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: NHentai'
|
||||
pkgNameSuffix = 'all.nhentai'
|
||||
extClass = '.NHEnglish; .NHJapanese; .NHChinese'
|
||||
extVersionCode = 4
|
||||
extVersionCode = 5
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -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"))
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue