理組進來一下 急
這啥意思
翻譯一下
https://github.com/PeterDing/aget
Aget is an asynchronous downloader operated in command-line, running on
Python > 3.5.
It supports HTTP(S), using mugen request library.
Aget continues downloading a partially downloaded file as default.
Installion
$ pip3 install aget
Usage
aget
https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png

# get an output name
aget
https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png

-o 'google.png'
# set headers
aget
https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png

-H "User-Agent: Mozilla/5.0" -H "Accept-Encoding: gzip"
# set concurrency
aget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.tar.xz -s 10
# set request range size
aget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.tar.xz -k 1M
Options
-o OUT, --out OUT # output path
-H HEADER, --header HEADER # request header
-X METHOD, --method METHOD # request method
-d DATA, --data DATA # request data
-t TIMEOUT, --timeout TIMEOUT # timeout
-s CONCURRENCY, --concurrency CONCURRENCY # concurrency
-k CHUCK_SIZE, --chuck_size CHUCK_SIZE # request range size
幫
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.228.27.192
※ 文章網址: https://www.ptt.cc/bbs/Marginalman/M.1491385324.A.F69.html
推
04/05 17:42, , 1F
04/05 17:42, 1F
推
04/05 17:43, , 2F
04/05 17:43, 2F
推
04/05 17:46, , 3F
04/05 17:46, 3F
推
04/05 17:46, , 4F
04/05 17:46, 4F
推
04/05 17:54, , 5F
04/05 17:54, 5F
→
04/05 17:58, , 6F
04/05 17:58, 6F
→
04/05 17:58, , 7F
04/05 17:58, 7F
→
04/05 17:58, , 8F
04/05 17:58, 8F
→
04/05 17:58, , 9F
04/05 17:58, 9F
→
04/05 17:59, , 10F
04/05 17:59, 10F
推
04/05 18:03, , 11F
04/05 18:03, 11F
→
04/05 18:03, , 12F
04/05 18:03, 12F
→
04/05 18:03, , 13F
04/05 18:03, 13F
→
04/05 18:07, , 14F
04/05 18:07, 14F
→
04/05 18:09, , 15F
04/05 18:09, 15F
→
04/05 18:09, , 16F
04/05 18:09, 16F
討論串 (同標題文章)