Fixed Dynasty-Doujins Selectors (#13615)

Co-authored-by: Th3-822 <Th3-822@users.noreply.github.com>
This commit is contained in:
Hedel Nasser 2022-09-29 10:25:43 -04:00 committed by GitHub
parent 59a459caa7
commit bef4915f29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Dynasty'
pkgNameSuffix = 'en.dynasty'
extClass = '.DynastyFactory'
extVersionCode = 19
extVersionCode = 20
}
apply from: "$rootDir/common.gradle"

View File

@ -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()