From 5507a0e6b2efdbc4f1877b4aeb5bb58a5313f247 Mon Sep 17 00:00:00 2001 From: kana-shii <79055104+kana-shii@users.noreply.github.com> Date: Sat, 28 Sep 2024 03:34:02 -0300 Subject: [PATCH] MyReadingManga: add tags to manga (#5269) add tags to manga --- src/all/myreadingmanga/build.gradle | 2 +- .../tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/all/myreadingmanga/build.gradle b/src/all/myreadingmanga/build.gradle index 830d0b213..8523517d7 100644 --- a/src/all/myreadingmanga/build.gradle +++ b/src/all/myreadingmanga/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'MyReadingManga' extClass = '.MyReadingMangaFactory' - extVersionCode = 51 + extVersionCode = 52 isNsfw = true } diff --git a/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt b/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt index dc734c15d..16cf14102 100644 --- a/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt +++ b/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt @@ -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()