Kavita: Add pdf support (#14513)
* Added pdf support * Changelog and bump
This commit is contained in:
parent
92eeb64539
commit
420b9930a0
|
@ -1,5 +1,11 @@
|
|||
## 1.3.8
|
||||
|
||||
### Features
|
||||
|
||||
* Added pdf support
|
||||
|
||||
## 1.3.8
|
||||
|
||||
### Fix
|
||||
|
||||
* Fixed `Expected URL scheme 'http' or 'https` when downloading
|
||||
|
|
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'Kavita'
|
||||
pkgNameSuffix = 'all.kavita'
|
||||
extClass = '.KavitaFactory'
|
||||
extVersionCode = 8
|
||||
extVersionCode = 9
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -502,7 +502,7 @@ class Kavita(private val suffix: String = "") : ConfigurableSource, UnmeteredSou
|
|||
pages.add(
|
||||
Page(
|
||||
index = i,
|
||||
imageUrl = "$apiUrl/Reader/image?chapterId=$chapterId&page=$i"
|
||||
imageUrl = "$apiUrl/Reader/image?chapterId=$chapterId&page=$i&extractPdf=true"
|
||||
)
|
||||
)
|
||||
}
|
||||
|
@ -708,6 +708,7 @@ class Kavita(private val suffix: String = "") : ConfigurableSource, UnmeteredSou
|
|||
listOf(
|
||||
"Image",
|
||||
"Archive",
|
||||
"Pdf",
|
||||
"Unknown",
|
||||
).map { FormatFilter(it) }
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue