MyReadingManga: Fix locale query + tags in getDetails

master
dragonx943 7 months ago
parent d85bb64b1c
commit be64bf2328
No known key found for this signature in database
GPG Key ID: 48DD99A2C5421C1C

@ -49,7 +49,6 @@ internal class MyReadingManga(context: MangaLoaderContext) :
isSearchSupported = true,
isSearchWithFiltersSupported = true,
isMultipleTagsSupported = true,
isOriginalLocaleSupported = true,
)
override val availableSortOrders: Set<SortOrder> = EnumSet.of(
@ -276,10 +275,10 @@ internal class MyReadingManga(context: MangaLoaderContext) :
val genres = mutableSetOf<MangaTag>()
doc.select("span.entry-terms:has(span:contains(Genres)) a").forEach {
doc.select("span.entry-terms:has(span:contains(Genre:)) a").forEach {
genres.add(
MangaTag(
title = it.text(),
title = it.text().removeSuffix(",").trim(),
key = it.attr("href").substringAfterLast("/genre/").substringBefore("/"),
source = source,
),

Loading…
Cancel
Save