Commit graph

10 commits

Author SHA1 Message Date
8616cdc5dd
Use new betterhelp. 2022-02-12 19:50:00 -08:00
a35200d594
Use threadpool in threaded_dl with separate ui thread.
The downside is that the result_generator is difficult to ctrlc on
windows due to signals not occuring during the Queue.get. Pressing
ctrlc will kill the program after one file finishes downloading,
otherwise you have to press ctrlbreak. The end result is that the
program actually feels a little worse to use than before, but it's
more, like, pure. Don't know. Might revert or change again.
2021-12-07 12:49:12 -08:00
4a9051e617
Big migrations and linting.
With pathclass.glob_many, we can clean up and feel more confident
about many programs that use pipeable to take glob patterns.

Added return 0 to all programs that didn't have it, so we have
consistent and explicit command line return values.

Other linting and whitespace.
2021-09-23 23:42:45 -07:00
02518a96a3
Replace clipext.resolve with pipeable.input(split_lines=False). 2021-08-17 14:06:07 -07:00
39e0aaed71
Various lint appeasements. 2021-08-09 17:37:19 -07:00
51188b30ee
Remove redundant argparse dest=, fix some lint issues. 2021-02-20 21:01:55 -08:00
9e65971829 Slight hack: allow pre-given filenames in threaded_dl. 2020-10-25 20:15:11 -07:00
2412a6ee35 Add argument --bytespersecond to control global ratelimit. 2020-10-02 19:54:20 -07:00
c7c14ebb78 Add support for custom headers. 2020-09-30 13:20:07 -07:00
80a87fa09f Move threaded_dl.py from else to cmd. 2020-09-29 14:27:48 -07:00