MangaLink: Add Manga Type To Genres (#8791)
This commit is contained in:
parent
8fbd3ab39d
commit
a3071faf48
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'MangaLink'
|
||||
pkgNameSuffix = 'ar.mangalink'
|
||||
extClass = '.MangaLink'
|
||||
extVersionCode = 3
|
||||
extVersionCode = 4
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -85,7 +85,8 @@ class MangaLink : ParsedHttpSource() {
|
|||
return SManga.create().apply {
|
||||
document.select("div.card").first().let { info ->
|
||||
title = info.select("h1").text()
|
||||
genre = info.select("span.d-flex a.btn").joinToString { it.text() }
|
||||
// add series type(manga/manhwa/manhua/other) thinggy to genre
|
||||
genre = info.select("span.d-flex a.btn, span:nth-child(1) > label:nth-child(2)").joinToString { it.text() }
|
||||
description = info.select("p.card-text").text()
|
||||
thumbnail_url = info.select("img").attr("abs:src")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue