Fix: hentaifox.com second page issue (#11410)
* Make second page load correctly again * Update build.gradle
This commit is contained in:
parent
db1685b912
commit
e0c5d477d8
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'HentaiFox'
|
||||
pkgNameSuffix = 'en.hentaifox'
|
||||
extClass = '.HentaiFox'
|
||||
extVersionCode = 3
|
||||
extVersionCode = 4
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,11 @@ class HentaiFox : ParsedHttpSource() {
|
||||
// Popular
|
||||
|
||||
override fun popularMangaRequest(page: Int): Request {
|
||||
return GET("$baseUrl/pag/$page/", headers)
|
||||
return if (page == 2) {
|
||||
GET("$baseUrl/page/$page/", headers)
|
||||
} else {
|
||||
GET("$baseUrl/pag/$page/", headers)
|
||||
}
|
||||
}
|
||||
|
||||
override fun popularMangaSelector() = "div.thumb"
|
||||
|
Loading…
x
Reference in New Issue
Block a user