BatCave: Fix page url ()

fix: page url
This commit is contained in:
Hellkaros 2025-02-06 10:27:02 -03:00 committed by Draff
parent 4154954883
commit 40efcf1be8
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 2 deletions
src/en/batcave
build.gradle
src/eu/kanade/tachiyomi/extension/en/batcave

@ -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)
} }
} }