/asmr-dl

ASMR Direct Downloader

Primary LanguageJavaScriptMIT LicenseMIT

asmr-dl

About

This is a simple Node.js command line tool that I built for myself.

Feel free to contribute!

Usage

asmr-dl <command> [argument] [option]

Commands:
  asmr-dl download [id]  Download ASMR work                        [aliases: dl]
  asmr-dl lookup [id]    Display metadata of ASMR work           [aliases: info]

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]
asmr-dl download [id]

Download ASMR work

Positionals:
  id  DLsite RJ Code (Work ID)                               [number] [required]

Options:
      --help           Show help                                       [boolean]
      --version        Show version number                             [boolean]
  -o, --output-dir     Output directory             [string] [default: "output"]
  -f, --force          Force overwrites existing files[boolean] [default: false]
  -t, --thread         Number of parallel downloads       [number] [default: 10]
  -m, --save-metadata  Save work metadata to output directory
                                                      [boolean] [default: false]
      --lang           Set language of work metadata
                [string] [choices: "ja-jp", "en-us", "zh-cn"] [default: "ja-jp"]
      --server         Set API server
       [string] [choices: "latest", "original", "mirror1", "mirror2", "mirror3"]
                                                             [default: "latest"]
      --proxy          Use streaming API server
                                         [deprecated] [boolean] [default: false]
      --disable-ping   Disable pinging the server
                       This option reduces startup time
                                         [deprecated] [boolean] [default: false]
      --log-level      Set log level
          [string] [choices: "trace", "debug", "info", "warn", "error", "fatal"]
                                                               [default: "info"]
asmr-dl lookup [id]

Display metadata of ASMR work

Positionals:
  id  DLsite RJ Code (Work ID)                               [number] [required]

Options:
  --help          Show help                                            [boolean]
  --version       Show version number                                  [boolean]
  --lang          Set language of work metadata
                [string] [choices: "ja-jp", "en-us", "zh-cn"] [default: "ja-jp"]
  --server        Set API server
       [string] [choices: "latest", "original", "mirror1", "mirror2", "mirror3"]
                                                             [default: "latest"]
  --proxy         Use streaming API server
                                         [deprecated] [boolean] [default: false]
  --disable-ping  Disable pinging the server
                  This option reduces startup time
                                         [deprecated] [boolean] [default: false]
  --log-level     Set log level
          [string] [choices: "trace", "debug", "info", "warn", "error", "fatal"]
                                                               [default: "info"]

To-Do

  • Download
    • Specify output path
    • Parallel download (w/any parallel connect count)
    • Show parallelized download progress
    • Cover image download (forced)
    • Metadata JSON download (selectable)
    • Mirror server support
    • Streaming API server support
    • Change module axios to node-fetch
  • Metadata lookup

(C) 2023 daydreamer-json