parent
4154954883
commit
40efcf1be8
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'BatCave'
|
||||
extClass = '.BatCave'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -221,7 +221,8 @@ class BatCave : HttpSource() {
|
|||
.parseAs<Images>()
|
||||
|
||||
return data.images.mapIndexed { idx, img ->
|
||||
Page(idx, imageUrl = baseUrl + img.trim())
|
||||
val imageUrl = if (img.startsWith("https")) img.trim() else baseUrl + img.trim()
|
||||
Page(idx, imageUrl = imageUrl)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue