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'
|
extName = 'HentaiMimi'
|
||||||
pkgNameSuffix = 'en.hentaimimi'
|
pkgNameSuffix = 'en.hentaimimi'
|
||||||
extClass = '.HentaiMimi'
|
extClass = '.HentaiMimi'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
containsNsfw = true
|
containsNsfw = true
|
||||||
}
|
}
|
||||||
|
@ -152,7 +152,7 @@ class HentaiMimi : ParsedHttpSource() {
|
|||||||
override fun pageListParse(document: Document): List<Page> {
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
val pages = mutableListOf<Page>()
|
val pages = mutableListOf<Page>()
|
||||||
document.select("body main script").html().substringAfter("[").substringBefore("]").split("\",\"").forEachIndexed { index, it ->
|
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))
|
pages.add(Page(index, url, url))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user