Giter VIP home page Giter VIP logo

ani-dl's Introduction

Anime Downloader NX by AniDL

Discord Shield

This downloader can download anime from different sites. Currently supported are Crunchyroll, Hidive, AnimeOnegai, and AnimationDigitalNetwork.

Legal Warning

This application is not endorsed by or affiliated with Crunchyroll, Hidive, AnimeOnegai, or AnimationDigitalNetwork. This application enables you to download videos for offline viewing which may be forbidden by law in your country. The usage of this application may also cause a violation of the Terms of Service between you and the stream provider. This tool is not responsible for your actions; please make an informed decision before using this application.

Dependencies

Paths Configuration

By default this application uses the following paths to programs (main executables):

  • ffmpeg.exe (From PATH)
  • ffprobe.exe (From PATH)
  • mkvmerge.exe (From PATH)
  • mp4decrypt.exe (From PATH)

To change these paths you need to edit bin-path.yml in ./config/ directory.

CLI Information

See the documentation for a complete list of what options are available. You can define defaults for the commands by editing the cli-defaults.yml file in the ./config/ directory.

Example usage

Logging in

Most services require you to be logged in, in order to download from, an example of how you would login is:

AniDL --service {ServiceName} --auth

Searching

In order to find the IDs to download, you can search from each service by using the --search flag like this:

AniDL --service {ServiceName} --search {SearchTerm}

Downloading

Once you have the ID which you can obtain from using the search or other means, you are ready to download, which you can do like this:

AniDL --service {ServiceName} -s {SeasonID} -e {EpisodeNumber}

Building and running from source

Build Dependencies

Dependencies that are only required for running from code. These are not required if you are using the prebuilt binaries.

Build Setup

Please note that NodeJS, NPM, and PNPM must be installed on your system. For instructions on how to install pnpm, check (https://pnpm.io/installation)

First clone this repo git clone https://github.com/anidl/multi-downloader-nx.git.

cd into the cloned directory and run pnpm i. Next, decide if you want to package the application, build the code, or run from typescript.

Run from TypeScript

You can run the code from native TypeScript, this requires ts-node which you can install with pnpm with the following command: pnpm -g i ts-node

Afterwords, you can run the application like this:

  • CLI: ts-node -T ./index.ts --help

Run as JavaScript

If you want to build the application into JavaScript code to run, you can do that as well like this:

  • CLI: pnpm run prebuild-cli
  • GUI: pnpm run prebuild-gui

Then you can cd into the lib folder and you will be able to run the CLI or GUI as follows:

  • CLI: node ./index.js --help
  • GUI: node ./gui.js

Build the application into an executable

If you want to package the application, run pnpm run build-{platform}-{type} where {platform} is the operating system (currently the choices are windows, linux, macos, alpine, android, and arm) and {type} is cli or gui.

DRM Decryption

Decryption Requirements

Instructions

In order to decrypt DRM content, you will need to have a dumped CDM, after that you will need to place the CDM files (device_client_id_blob and device_private_key) into the ./widevine/ directory. For legal reasons we do not include the CDM with the software, and you will have to source one yourself.

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.