1
0
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-17 06:56:42 +00:00
youtube-dl/youtube_dl
teddy171 33db85c571 [feat]: Add support to external downloader aria2p (#31500)
* feat: add class Aria2pFD

* feat: create call_downloader function

* feat: a colorful download interface to aria2pFD

* feat: change value name

* Apply suggestions from code review

Co-authored-by: dirkf <fieldhouse@gmx.net>

* Typo in suggestion

* fix: remove unused value

* fix: add not function to return value(0 is normal); add total_seconds to download.eta(timedelta object); add waiting status when hook progress

* fix: remove unuse method ..utils.format_bytes

* fix: be up to flake8

* fix: be up to flake8

* Apply suggestions from code review

* [feat] test external downloader aria2p

* [feat] test external downloader aria2p

* [fix] test_external_downloader.py

* Apply suggestions from code review

Co-authored-by: dirkf <fieldhouse@gmx.net>

* Apply suggestions from code review

Co-authored-by: dirkf <fieldhouse@gmx.net>

* Update test/test_external_downloader.py

Co-authored-by: dirkf <fieldhouse@gmx.net>

* Update test/test_external_downloader.py

Co-authored-by: dirkf <fieldhouse@gmx.net>

* Update youtube_dl/downloader/external.py

Co-authored-by: dirkf <fieldhouse@gmx.net>

* refactoring code and fix bugs

* Apply suggestions from code review

* Rename test_external_downloader.py to test_downloader_external.py

---------

Co-authored-by: dirkf <fieldhouse@gmx.net>
2023-02-13 03:54:51 +00:00
..
downloader [feat]: Add support to external downloader aria2p (#31500) 2023-02-13 03:54:51 +00:00
extractor [rbgtum] Add new extractor (#31305) 2023-02-13 03:54:51 +00:00
postprocessor
__init__.py
__main__.py
aes.py
cache.py
casefold.py
compat.py [compat] Systematise compat_ naming 2023-02-13 03:54:51 +00:00
jsinterp.py
options.py
socks.py
swfinterp.py
update.py
utils.py [utils] Add parse_qs, update_url 2023-02-13 03:54:51 +00:00
version.py
YoutubeDL.py