Code Monkey home page Code Monkey logo

asmr-dl's Introduction

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

asmr-dl's People

Contributors

daydreamer-json avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.