[Ru]Mangalib. Fix images with double slash (#5112)
Co-authored-by: pavkazzz <me@pavkazzz.ru>
This commit is contained in:
parent
ec2c76b350
commit
e8b4ca5149
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'MangaLib'
|
||||
pkgNameSuffix = 'ru.libmanga'
|
||||
extClass = '.LibManga'
|
||||
extVersionCode = 25
|
||||
extVersionCode = 26
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@ class LibManga : ConfigurableSource, HttpSource() {
|
||||
private val servers = mapOf(
|
||||
"secondary" to "https://img2.emanga.ru",
|
||||
"fourth" to "https://img4.imgslib.ru",
|
||||
"compress" to "https://img3.cdnlib.org",
|
||||
"compress" to "https://img3.yaoilib.org",
|
||||
)
|
||||
|
||||
override fun setupPreferenceScreen(screen: androidx.preference.PreferenceScreen) {
|
||||
@ -301,7 +301,7 @@ class LibManga : ConfigurableSource, HttpSource() {
|
||||
val pages = mutableListOf<Page>()
|
||||
|
||||
pagesJson.forEach { page ->
|
||||
pages.add(Page(page["p"].int, "", imageServerUrl + imgUrl + page["u"].string))
|
||||
pages.add(Page(page["p"].int, "", imageServerUrl + "/" + imgUrl + page["u"].string))
|
||||
}
|
||||
return pages
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user