parent
4154954883
commit
40efcf1be8
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'BatCave'
|
extName = 'BatCave'
|
||||||
extClass = '.BatCave'
|
extClass = '.BatCave'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -221,7 +221,8 @@ class BatCave : HttpSource() {
|
||||||
.parseAs<Images>()
|
.parseAs<Images>()
|
||||||
|
|
||||||
return data.images.mapIndexed { idx, img ->
|
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