Implement a Python-requests-based downloader

This commit is contained in:
rlaphoenix
2023-05-12 07:02:39 +01:00
parent cb82febb7c
commit be403bbff4
4 changed files with 100 additions and 2 deletions

View File

@@ -135,8 +135,13 @@ Choose what software to use to download data throughout Devine where needed.
Options:
- `aria2c` (default) - https://github.com/aria2/aria2
- `requests` - https://github.com/psf/requests
- `saldl` - https://github.com/saldl/saldl
Note that aria2c can reach the highest speeds as it utilizes threading and more connections than the other
downloaders. However, aria2c can also be one of the more unstable downloaders. It will work one day, then
not another day. It also does not support HTTP(S) proxies while the other downloaders do.
## headers (dict)
Case-Insensitive dictionary of headers that all Services begin their Request Session state with.