aria2-delegate
v1.0.1
Published
Deletgate cli command to remote aria2 rpc call
Downloads
2
Readme
aria2-delegate
Deletgate cli command to remote aria2 json rpc call
Usage
- Install node: node
- Install aria2-delegate with
npm install -g aria2-deletgate
- Check out the following mannual
Usage:
aria2-delegate [options] <download_url>
Examples:
Simple:
aria2-delegate --rpc "http://127.0.0.1:6800/jsonrpc" <url>
With password:
aria2-delegate --rpc "http://user:[email protected]:6800/jsonrpc" <url>
With secret token:
aria2-delegate --rpc "http://token:[email protected]:6800/jsonrpc"
<url>
Request header:
aria2-delegate --rpc "http://127.0.0.1:6800/jsonrpc" --header "User-Agent:
Mozilla/5.0" --header.User-Agent "Mozilla/5.0" <url>
Options:
--index-out Index out [string] [default: []]
--header Request http header [default: []]
--rpc RPC service url [string]
--version Show version number [boolean]
--help Show help [boolean]
Example: setup flashgot
- Install
aria2-delegate
- Find
aria2-delegate
's real path withwhich aria2-delegate
orwhere aria2-delegate
- Install
flashgot
in firefox browser - Enter
flashgot
options - Add a new custom download manager, named
aria2-delegate
- Set execuable path to
aria2-delegate
's real path - Put the following content in template
--rpc http://token:this_is_token@server_ip:6800/jsonrpc [--header.Cookie COOKIE] [--header.Referer REFERER] [--header.User-Agent UA] [--out FNAME] [URL]