* Remove academyvn - no longer available * Remove empty last page from TruyenTranhLH * Update TruyenTranhLH version code Co-authored-by: Nam Nguyen <namnguyenicetea@gmail.com>
This commit is contained in:
parent
d11445f73b
commit
8ec2475615
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'TruyenTranhLH'
|
||||
pkgNameSuffix = 'vi.truyentranhlh'
|
||||
extClass = '.TruyenTranhLH'
|
||||
extVersionCode = 8
|
||||
extVersionCode = 9
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -115,9 +115,11 @@ class TruyenTranhLH : ParsedHttpSource() {
|
||||
// Pages
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
return document.select("div#chapter-content img").mapIndexed { i, img ->
|
||||
Page(i, "", img.attr("abs:data-src"))
|
||||
}
|
||||
return document.select("div#chapter-content img")
|
||||
.filterNot { imgEl -> imgEl.attr("abs:data-src").isNullOrEmpty() }
|
||||
.mapIndexed { i, img ->
|
||||
Page(i, "", img.attr("abs:data-src"))
|
||||
}
|
||||
}
|
||||
|
||||
override fun imageUrlParse(document: Document): String = throw UnsupportedOperationException("Not used")
|
||||
|
Loading…
x
Reference in New Issue
Block a user