add options to control usage of .part files (#29)
- '--no-part' command line option to disable them - 'downloader.http.part' and 'downloader.text.part' config options Disabling .part files restores the behaviour of the old downloader implementation.
This commit is contained in:
@@ -92,6 +92,21 @@ Description Controls the progress indicator when *gallery-dl* is run with
|
||||
Downloader Options
|
||||
==================
|
||||
|
||||
downloader.part
|
||||
---------------
|
||||
=========== =====
|
||||
Type ``bool``
|
||||
Default ``true``
|
||||
Description Controls the use of ``.part`` files during file downloads.
|
||||
|
||||
* ``true``: Write downloaded data into ``.part`` files and rename
|
||||
them upon download completion. This mode additionally supports
|
||||
resuming incomplete downloads.
|
||||
* ``false``: Do not use ``.part`` files and write data directly
|
||||
into the actual output files.
|
||||
=========== =====
|
||||
|
||||
|
||||
downloader.http.retries
|
||||
-----------------------
|
||||
=========== =====
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"netrc": false,
|
||||
"downloader":
|
||||
{
|
||||
"part": true,
|
||||
"http":
|
||||
{
|
||||
"retries": 5,
|
||||
|
||||
Reference in New Issue
Block a user