fix EarlyManga pages again (#5871)

they seems change it again
This commit is contained in:
Riztard Lanthorn 2021-02-15 22:44:14 +07:00 committed by GitHub
parent 5b9dff0b81
commit 244ea0b9b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'EarlyManga'
pkgNameSuffix = 'en.earlymanga'
extClass = '.EarlyManga'
extVersionCode = 5
extVersionCode = 6
libVersion = '1.2'
}

View File

@ -119,7 +119,7 @@ class EarlyManga : ParsedHttpSource() {
override fun chapterFromElement(element: Element) = SChapter.create().apply {
setUrlWithoutDomain(element.select(".col-lg-5 a").attr("href"))
val access = element.select(".col-lg-5 a div").text()
val access = element.select(".col-lg-5 a .d-none").text()
name = element.select(".col-lg-5 a").text().substringAfter(access)
date_upload = parseChapterDate(element.select(".ml-1").attr("title"))
}
@ -130,7 +130,7 @@ class EarlyManga : ParsedHttpSource() {
// pages
override fun pageListParse(document: Document): List<Page> {
return document.select(".chapter-images-container-inside .interior img").mapIndexed { i, element ->
return document.select(".chapter-images-container-inside img").mapIndexed { i, element ->
Page(i, "", element.attr("abs:src"))
}
}