Re: 理組進來一下 急
※ 引述《oz5566 (阿康)》之銘言:
: 這啥意思
: 翻譯一下
: 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.
總之你需要先裝 Python 3 還要用 command line (Windows 就是 CMD) 執行
Python 可以在官方網站下載: https://www.python.org/downloads/
我不確定現在 Windows 裝 Python 會不會自動加入 PATH
如果沒有的話 要手動把安裝 Ptyhon 的資料夾加入 PATH
好了以後按 WIN 鍵打 CMD 進入命令提示模式
: Installion
: $ pip3 install aget
在 CMD(小黑文字窗) 輸入指令 pip3 install aget
安裝 AGet 這個程式。
裝好之後一樣在 CMD 使用
使用方式:
輸入: 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
: 幫
--
Sent from my Emacs-24
發P幣請愛用 MumiGiveP
#1OoJcbq- (EZsoft)
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 159.203.172.31
※ 文章網址: https://www.ptt.cc/bbs/Marginalman/M.1491387144.A.6E2.html
→
04/05 18:13, , 1F
04/05 18:13, 1F
推
04/05 18:13, , 2F
04/05 18:13, 2F
→
04/05 18:13, , 3F
04/05 18:13, 3F
→
04/05 18:22, , 4F
04/05 18:22, 4F
推
04/05 18:33, , 5F
04/05 18:33, 5F
→
04/05 18:40, , 6F
04/05 18:40, 6F
討論串 (同標題文章)