MyReadingManga: add tags to manga (#5269)

add tags to manga
This commit is contained in:
kana-shii 2024-09-28 03:34:02 -03:00 committed by GitHub
parent 2c41f0c181
commit 3abdb00df6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'MyReadingManga'
extClass = '.MyReadingMangaFactory'
extVersionCode = 51
extVersionCode = 52
isNsfw = true
}

View File

@ -147,7 +147,7 @@ open class MyReadingManga(override val lang: String, private val siteLang: Strin
title = cleanTitle(document.select("h1").text())
author = cleanAuthor(document.select("h1").text())
artist = author
genre = document.select(".entry-header p a[href*=genre]").joinToString { it.text() }
genre = document.select(".entry-header p a[href*=genre], [href*=tag]").joinToString { it.text() }
val basicDescription = document.select("h1").text()
// too troublesome to achieve 100% accuracy assigning scanlator group during chapterListParse
val scanlatedBy = document.select(".entry-terms:has(a[href*=group])").firstOrNull()