Madokami: fix encoding special characters in url (#15950)
* Update Madokami.kt * Update build.gradle
This commit is contained in:
parent
4c704f8f31
commit
c3b43bedd4
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'Madokami'
|
||||
pkgNameSuffix = 'en.madokami'
|
||||
extClass = '.Madokami'
|
||||
extVersionCode = 5
|
||||
extVersionCode = 6
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -66,7 +66,7 @@ class Madokami : ConfigurableSource, ParsedHttpSource() {
|
|||
|
||||
override fun popularMangaFromElement(element: Element): SManga {
|
||||
val manga = SManga.create()
|
||||
manga.setUrlWithoutDomain(element.attr("href"))
|
||||
manga.url = element.attr("href")
|
||||
manga.title = URLDecoder.decode(element.attr("href").split("/").last(), "UTF-8").trimStart('!')
|
||||
return manga
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue