Disable resumable image downloads
This commit is contained in:
@@ -483,7 +483,7 @@ class Downloader(
|
|||||||
?: tmpDir.createFile("$filename.tmp")!!
|
?: tmpDir.createFile("$filename.tmp")!!
|
||||||
|
|
||||||
try {
|
try {
|
||||||
source.getImage(page, file.length()).use {
|
source.getImage(page).use {
|
||||||
it.body.source().saveTo(
|
it.body.source().saveTo(
|
||||||
// If the server supports partial downloads (HTTP 206),
|
// If the server supports partial downloads (HTTP 206),
|
||||||
// append to the existing file.
|
// append to the existing file.
|
||||||
|
|||||||
Reference in New Issue
Block a user