[MangaOwl] Fix not showing chapters list (#9874)
This commit is contained in:
parent
a1901ee277
commit
bd6b07c9f9
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'MangaOwl'
|
extName = 'MangaOwl'
|
||||||
pkgNameSuffix = 'en.mangaowl'
|
pkgNameSuffix = 'en.mangaowl'
|
||||||
extClass = '.MangaOwl'
|
extClass = '.MangaOwl'
|
||||||
extVersionCode = 22
|
extVersionCode = 23
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -151,7 +151,7 @@ class MangaOwl : ParsedHttpSource() {
|
||||||
val chapter = SChapter.create()
|
val chapter = SChapter.create()
|
||||||
element.select("a").let {
|
element.select("a").let {
|
||||||
// They replace some URLs with a different host getting a path of domain.com/reader/reader/, fix to make usable on baseUrl
|
// They replace some URLs with a different host getting a path of domain.com/reader/reader/, fix to make usable on baseUrl
|
||||||
chapter.setUrlWithoutDomain(it.attr("href").replace("/reader/reader/", "/reader/"))
|
chapter.setUrlWithoutDomain(it.attr("data-href").replace("/reader/reader/", "/reader/"))
|
||||||
chapter.name = it.select("label").first().text()
|
chapter.name = it.select("label").first().text()
|
||||||
}
|
}
|
||||||
chapter.date_upload = parseChapterDate(element.select("small:last-of-type").text())
|
chapter.date_upload = parseChapterDate(element.select("small:last-of-type").text())
|
||||||
|
|
Loading…
Reference in New Issue