A fix for the Scanlator Tag. (#8174)
* A fix for the Scanlator Tag. * Update build.gradle
This commit is contained in:
parent
1a352389e6
commit
7a34002a21
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'LectorManga'
|
extName = 'LectorManga'
|
||||||
pkgNameSuffix = 'es.lectormanga'
|
pkgNameSuffix = 'es.lectormanga'
|
||||||
extClass = '.LectorManga'
|
extClass = '.LectorManga'
|
||||||
extVersionCode = 16
|
extVersionCode = 17
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -220,7 +220,7 @@ class LectorManga : ConfigurableSource, ParsedHttpSource() {
|
||||||
private fun oneShotChapterFromElement(element: Element) = SChapter.create().apply {
|
private fun oneShotChapterFromElement(element: Element) = SChapter.create().apply {
|
||||||
url = element.select("div.row > .text-right > a").attr("href")
|
url = element.select("div.row > .text-right > a").attr("href")
|
||||||
name = "One Shot"
|
name = "One Shot"
|
||||||
scanlator = element.select("div.col-md-6.text-truncate")?.text()
|
scanlator = element.select("div.col-12.col-sm-12.col-md-4.text-truncate span")?.text()
|
||||||
date_upload = element.select("span.badge.badge-primary.p-2").first()?.text()?.let { parseChapterDate(it) }
|
date_upload = element.select("span.badge.badge-primary.p-2").first()?.text()?.let { parseChapterDate(it) }
|
||||||
?: 0
|
?: 0
|
||||||
}
|
}
|
||||||
|
@ -228,7 +228,7 @@ class LectorManga : ConfigurableSource, ParsedHttpSource() {
|
||||||
private fun regularChapterFromElement(chapterName: String, info: Element, number: Float) = SChapter.create().apply {
|
private fun regularChapterFromElement(chapterName: String, info: Element, number: Float) = SChapter.create().apply {
|
||||||
url = info.select("div.row > .text-right > a").attr("href")
|
url = info.select("div.row > .text-right > a").attr("href")
|
||||||
name = chapterName
|
name = chapterName
|
||||||
scanlator = info.select("div.col-md-6.text-truncate")?.text()
|
scanlator = info.select("div.col-12.col-sm-12.col-md-4.text-truncate span")?.text()
|
||||||
date_upload = info.select("span.badge.badge-primary.p-2").first()?.text()?.let {
|
date_upload = info.select("span.badge.badge-primary.p-2").first()?.text()?.let {
|
||||||
parseChapterDate(it)
|
parseChapterDate(it)
|
||||||
} ?: 0
|
} ?: 0
|
||||||
|
|
Loading…
Reference in New Issue