15 Commits

Author SHA1 Message Date
e2c4d3572b More refactoring for dlreport 2022-03-31 23:13:43 +02:00
e6360153d6 More refactoring 2022-03-31 20:25:24 +02:00
16d0edbbb6 Refactor 2022-03-31 18:19:58 +02:00
88f23ae568 More refactoring 2022-03-31 17:13:57 +02:00
396744e3a2 Use thiserror + anyhow for errors 2022-03-31 17:06:52 +02:00
59de02d34d More refactor 2022-03-31 01:16:39 +02:00
ea73355eef Show current n.o. files as % 2021-06-11 19:08:36 +02:00
154961ff98 Add number of files to progress
- The progress updates now show the number of files completed
2021-06-11 12:54:17 +02:00
2d2aaef9f8 Add into-file cli argument
- 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
2021-04-02 15:58:16 +02:00
36ad1263b4 Reduced panics 2021-03-31 17:30:16 +02:00
052c3a358a Slightly improved error recoverability 2021-03-31 01:17:07 +02:00
9edb2daf86 Improve display log 2021-03-30 19:07:18 +02:00
833af6e8d3 Don't preresolve zippy URLs
- 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
2021-03-27 00:29:56 +01:00
d12c174a8b Improve terminal display output
- Logs are printed at the top
- Status updates are printed at the bottom and are updated in-place
- Removed the redundant code for `download_one`
2021-03-26 01:17:12 +01:00
a8474aab1e Initial version 2021-03-24 18:46:24 +01:00