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:
parent
63203338db
commit
6812743bd9
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue