Fixed Dynasty-Doujins Selectors (#13615)
Co-authored-by: Th3-822 <Th3-822@users.noreply.github.com>
This commit is contained in:
parent
59a459caa7
commit
bef4915f29
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'Dynasty'
|
||||
pkgNameSuffix = 'en.dynasty'
|
||||
extClass = '.DynastyFactory'
|
||||
extVersionCode = 19
|
||||
extVersionCode = 20
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -37,7 +37,8 @@ class DynastyDoujins : DynastyScans() {
|
|||
|
||||
override fun mangaDetailsParse(document: Document): SManga {
|
||||
val manga = SManga.create().apply {
|
||||
title = document.selectFirst("div.tags > h2.tag-title > b").text().substringAfter("Doujins › ")
|
||||
title = document.selectFirst("div#main > h2 > b").text().substringAfter("Doujins › ")
|
||||
description = document.select("div#main > div.description")?.text()
|
||||
thumbnail_url = document.select("a.thumbnail img").firstOrNull()?.attr("abs:src")
|
||||
?.replace("/thumb/", "/medium/")
|
||||
}
|
||||
|
@ -45,7 +46,7 @@ class DynastyDoujins : DynastyScans() {
|
|||
return manga
|
||||
}
|
||||
|
||||
override fun chapterListSelector() = "div.span9 > dl.chapter-list > dd"
|
||||
override fun chapterListSelector() = "div#main > dl.chapter-list > dd"
|
||||
|
||||
override fun chapterListParse(response: Response): List<SChapter> {
|
||||
val document = response.asJsoup()
|
||||
|
|
Loading…
Reference in New Issue