aria2-delegate

1.0.1 • Public • Published

aria2-delegate

Deletgate cli command to remote aria2 json rpc call

Usage

  1. Install node: node
  2. Install aria2-delegate with npm install -g aria2-deletgate
  3. 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:pass@127.0.0.1:6800/jsonrpc" <url>

  With secret token:
    aria2-delegate --rpc "http://token:this_is_token@127.0.0.1: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

  1. Install aria2-delegate
  2. Find aria2-delegate's real path with which aria2-delegate or where aria2-delegate
  3. Install flashgot in firefox browser
  4. Enter flashgot options
  5. Add a new custom download manager, named aria2-delegate
  6. Set execuable path to aria2-delegate's real path
  7. 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]

Readme

Keywords

Package Sidebar

Install

npm i aria2-delegate

Weekly Downloads

0

Version

1.0.1

License

GPL-3.0

Last publish

Collaborators

  • opengg