- Add ducc crate (duktape bindings) as javascript engine
- Extract the script tag from zippyshare page contents
- Preprocess the script and execute the js to get the link
- This removes the need for full regex based implementations for each
antiscrape challenge
- Added option to set the filename for single file downloads
- Changed the number cli arguments to unsigned, since they can only be
positive anyways
- Combined the cli arguments into a struct
- When the server terminates a connection before the download is
complete, the error wasn't noticed
- Fixed error where the tokio receiver was dropped before all
transmitters. This caused a panic when transmitters tried to send
status udates.
- Fixed error message still containing file path
- Zippy URLs are now resolved directly before starting the downloads
- Resolve errors now should print the error to the top-log and skip the
file. (untested)
- The status reports are now sent after either 5M download or 1s
- Fixes#10, #4
- Buffer the downloaded data into 4M buffers and only write to disk
after the buffer is full.
- This reduces the number of small writes and greatly improves
performance on HDDs with mutliple concurrent downloads.
- Fixes#3
- Added `download_feedback_multi` that downloads one file using multiple
connections.
- The file is preallocated and zero-filled and then written to in
parallel at different offsets.