HentaiNexus: set thumbnail on manga parse (#3580)

This commit is contained in:
Vetle Ledaal 2024-06-16 08:03:03 +02:00 committed by Draff
parent 2e5e25118e
commit 953704c200
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = "HentaiNexus" extName = "HentaiNexus"
extClass = ".HentaiNexus" extClass = ".HentaiNexus"
extVersionCode = 10 extVersionCode = 11
isNsfw = true isNsfw = true
} }

View File

@ -122,6 +122,8 @@ class HentaiNexus : ParsedHttpSource() {
} }
update_strategy = UpdateStrategy.ONLY_FETCH_ONCE update_strategy = UpdateStrategy.ONLY_FETCH_ONCE
status = SManga.COMPLETED status = SManga.COMPLETED
thumbnail_url = document.selectFirst("figure.image img")?.attr("src")
} }
override fun fetchChapterList(manga: SManga): Observable<List<SChapter>> { override fun fetchChapterList(manga: SManga): Observable<List<SChapter>> {