[NHentai] Fix favorite count when login (#4581)

Fix favorite count when login
This commit is contained in:
子斗子 2024-08-13 09:13:42 +08:00 committed by Draff
parent f7a92a1573
commit 2bbdd0a351
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'NHentai' extName = 'NHentai'
extClass = '.NHFactory' extClass = '.NHFactory'
extVersionCode = 41 extVersionCode = 42
isNsfw = true isNsfw = true
} }

View File

@ -226,7 +226,7 @@ open class NHentai(
.plus("$fullTitle\n") .plus("$fullTitle\n")
.plus("${document.select("div#info h2").text()}\n\n") .plus("${document.select("div#info h2").text()}\n\n")
.plus("Pages: ${getNumPages(document)}\n") .plus("Pages: ${getNumPages(document)}\n")
.plus("Favorited by: ${document.select("div#info i.fa-heart + span span").text().removeSurrounding("(", ")")}\n") .plus("Favorited by: ${document.select("div#info i.fa-heart ~ span span").text().removeSurrounding("(", ")")}\n")
.plus(getTagDescription(document)) .plus(getTagDescription(document))
genre = getTags(document) genre = getTags(document)
update_strategy = UpdateStrategy.ONLY_FETCH_ONCE update_strategy = UpdateStrategy.ONLY_FETCH_ONCE