akuma: fix chapter urls (#3475)

This commit is contained in:
AwkwardPeak7 2024-06-09 17:29:16 +05:00 committed by GitHub
parent c0c27b513e
commit 5db62c7513
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Akuma'
extClass = '.AkumaFactory'
extVersionCode = 3
extVersionCode = 4
isNsfw = true
}

View File

@ -266,7 +266,7 @@ class Akuma(
return listOf(
SChapter.create().apply {
url = "${response.request.url}/1"
setUrlWithoutDomain("${response.request.url}/1")
name = "Chapter"
date_upload = try {
dateFormat.parse(document.select(".date .value>time").text())!!.time
@ -289,6 +289,8 @@ class Akuma(
pageList.add(Page(i, "$url/$i"))
}
pageList[0].imageUrl = imageUrlParse(document)
return pageList
}