Hentaimimi fix (#7574)
* Fix incorrect unescaping when image url contains unicode entities * Up extVersionCode
This commit is contained in:
parent
1c0a564c78
commit
6fa8cfe804
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'HentaiMimi'
|
||||
pkgNameSuffix = 'en.hentaimimi'
|
||||
extClass = '.HentaiMimi'
|
||||
extVersionCode = 3
|
||||
extVersionCode = 4
|
||||
libVersion = '1.2'
|
||||
containsNsfw = true
|
||||
}
|
||||
|
|
|
@ -152,7 +152,7 @@ class HentaiMimi : ParsedHttpSource() {
|
|||
override fun pageListParse(document: Document): List<Page> {
|
||||
val pages = mutableListOf<Page>()
|
||||
document.select("body main script").html().substringAfter("[").substringBefore("]").split("\",\"").forEachIndexed { index, it ->
|
||||
val url = "$baseUrl/${it.replace("\\", "").replace("\"", "")}"
|
||||
val url = "$baseUrl/${it.replace("\\/", "/").replace("\"", "")}"
|
||||
pages.add(Page(index, url, url))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue