fix showing popular (#5394)

This commit is contained in:
OncePunchedMan 2021-01-13 12:29:34 +00:00 committed by GitHub
parent a5079a7242
commit 5988ed0853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Eggporncomics'
pkgNameSuffix = 'en.eggporncomics'
extClass = '.Eggporncomics'
extVersionCode = 1
extVersionCode = 2
libVersion = '1.2'
containsNsfw = true
}

View File

@ -35,9 +35,9 @@ class Eggporncomics : ParsedHttpSource() {
// Popular
// couldn't find a page with popular comics, defaulting to the "anime" category
// couldn't find a page with popular comics, defaulting to the popular "anime-comics" category
override fun popularMangaRequest(page: Int): Request {
return GET("$baseUrl/category/1/anime?page=$page", headers)
return GET("$baseUrl/category/1/anime-comics?page=$page", headers)
}
override fun popularMangaSelector() = "div.preview:has(div.name)"