fix(EveriaClub): update everia selectors (#17745)

* fix(EveriaClub): update tags selector #17743

* fix(EveriaClub): remove unrelated images from galleries #17744

* chore(EveriaClub): bump `extVersionCode`
This commit is contained in:
korafu 2023-08-31 16:20:51 -05:00 committed by GitHub
parent 63203338db
commit 6812743bd9
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 = 'Everia.club' extName = 'Everia.club'
pkgNameSuffix = 'all.everiaclub' pkgNameSuffix = 'all.everiaclub'
extClass = '.EveriaClub' extClass = '.EveriaClub'
extVersionCode = 7 extVersionCode = 8
isNsfw = true isNsfw = true
} }

View File

@ -81,7 +81,7 @@ class EveriaClub() : ParsedHttpSource() {
manga.title = document.select(".entry-title").text() manga.title = document.select(".entry-title").text()
manga.description = document.select(".entry-title").text() manga.description = document.select(".entry-title").text()
val genres = mutableListOf<String>() val genres = mutableListOf<String>()
document.select(".nv-tags-list > a").forEach { document.select(".post-tags > a").forEach {
genres.add(it.text()) genres.add(it.text())
} }
manga.genre = genres.joinToString(", ") manga.genre = genres.joinToString(", ")
@ -104,7 +104,7 @@ class EveriaClub() : ParsedHttpSource() {
override fun pageListParse(document: Document): List<Page> { override fun pageListParse(document: Document): List<Page> {
val pages = mutableListOf<Page>() val pages = mutableListOf<Page>()
document.select("noscript").remove() document.select("noscript").remove()
document.select("article img").forEachIndexed { i, it -> document.select(".entry-content img").forEachIndexed { i, it ->
val itUrl = it.imgSrc val itUrl = it.imgSrc
pages.add(Page(i, itUrl, itUrl)) pages.add(Page(i, itUrl, itUrl))
} }