[Fix] Mangafree - url with brackets (#1708)
[Fix] Mangafree - url with brackets
This commit is contained in:
parent
23a9d3d7c4
commit
ba759b7678
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: Mangafree'
|
||||
pkgNameSuffix = 'en.mangafree'
|
||||
extClass = '.Mangafree'
|
||||
extVersionCode = 3
|
||||
extVersionCode = 4
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -135,7 +135,8 @@ class Mangafree : ParsedHttpSource() {
|
|||
val urlElement = element.select("a").first()
|
||||
|
||||
val chapter = SChapter.create()
|
||||
chapter.setUrlWithoutDomain(urlElement.attr("href"))
|
||||
val url = urlElement.attr("href").replace("[","%255B").replace("]","%255D")
|
||||
chapter.setUrlWithoutDomain(url)
|
||||
chapter.name = urlElement.text()
|
||||
return chapter
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue