parent
7806e14938
commit
d6b90e70c7
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'Yugen Mangás'
|
||||
pkgNameSuffix = 'pt.yugenmangas'
|
||||
extClass = '.YugenMangas'
|
||||
extVersionCode = 34
|
||||
extVersionCode = 35
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -50,7 +50,7 @@ class YugenMangas : ParsedHttpSource() {
|
|||
|
||||
override fun popularMangaRequest(page: Int): Request = GET(baseUrl, headers)
|
||||
|
||||
override fun popularMangaSelector(): String = "div.container-popular div.swiper-wrapper a"
|
||||
override fun popularMangaSelector(): String = "div.popular div.swiper-wrapper a"
|
||||
|
||||
override fun popularMangaFromElement(element: Element): SManga = SManga.create().apply {
|
||||
title = element.selectFirst("h1")!!.text()
|
||||
|
@ -121,7 +121,7 @@ class YugenMangas : ParsedHttpSource() {
|
|||
}
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
return document.select("div.chapter-content img.chapter-image")
|
||||
return document.select("div.chapter-images > img[src]")
|
||||
.mapIndexed { index, element ->
|
||||
Page(index, document.location(), element.absUrl("src"))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue