mark dynasty chapters as complete to prevent library update from rechecking them. (#401)

This commit is contained in:
Carlos 2018-07-12 12:09:45 -04:00 committed by GitHub
parent 622f02e517
commit e399c958fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: Dynasty' appName = 'Tachiyomi: Dynasty'
pkgNameSuffix = "en.dynasty" pkgNameSuffix = "en.dynasty"
extClass = '.DynastyFactory' extClass = '.DynastyFactory'
extVersionCode = 6 extVersionCode = 7
extVersionSuffix = 6 extVersionSuffix = 7
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -28,6 +28,7 @@ class DynastyChapters : DynastyScans() {
manga.thumbnail_url = document.select("img").last().absUrl("src") manga.thumbnail_url = document.select("img").last().absUrl("src")
manga.title = document.select("h3 b").text() manga.title = document.select("h3 b").text()
manga.status = SManga.COMPLETED
val artistAuthorElements = document.select("a[href*=author]") val artistAuthorElements = document.select("a[href*=author]")
if (!artistAuthorElements.isEmpty()) { if (!artistAuthorElements.isEmpty()) {
if (artistAuthorElements.size == 1) { if (artistAuthorElements.size == 1) {