1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-24 15:50:26 +01:00
youtube-dl/youtube_dl/downloader
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
..
__init__.py Ignore --external-downloader-args if --external-downloader was rejected 2022-03-25 14:47:26 +00:00
common.py [downloader/common] Improve rate limit (#21301) 2019-06-05 03:06:35 +07:00
dash.py Fix typos (#21901) 2019-07-26 22:30:18 +07:00
external.py [feat]: Add support to external downloader aria2p (#31500) 2023-02-13 03:54:51 +00:00
f4m.py Fix W504 and disable W503 (closes #20863) 2019-05-11 03:57:40 +07:00
fragment.py [downloader/fragment] Set final file's mtime according to last fragment's Last-Modified header (closes #11718, closes #18384, closes #27138) 2020-11-24 04:17:24 +07:00
hls.py [downloader/hls] Disable decryption in tests (#27660) 2021-01-05 01:24:01 +07:00
http.py [downloader/http] Fix crash during urlopen caused by missing reason of URLError 2020-11-21 04:22:21 +07:00
ism.py Fix typos (#21901) 2019-07-26 22:30:18 +07:00
niconico.py [niconico] Implement heartbeat for download 2022-02-05 02:47:21 +00:00
rtmp.py [utils, etc] Kill child processes when yt-dl is killed 2022-06-10 19:57:46 +01:00
rtsp.py [downloader/rtsp] Print the command 2016-04-14 15:07:31 +08:00