[MangaOwl] Fix not showing chapters list (#9874)

This commit is contained in:
Zakhar Timoshenko 2021-11-21 17:21:15 +03:00 committed by GitHub
parent a1901ee277
commit bd6b07c9f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'MangaOwl'
pkgNameSuffix = 'en.mangaowl'
extClass = '.MangaOwl'
extVersionCode = 22
extVersionCode = 23
}
apply from: "$rootDir/common.gradle"

View File

@ -151,7 +151,7 @@ class MangaOwl : ParsedHttpSource() {
val chapter = SChapter.create()
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
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.date_upload = parseChapterDate(element.select("small:last-of-type").text())