0.1.9-rc.6 • Published 1 month ago

anim4u v0.1.9-rc.6

Weekly downloads
-
License
ISC
Repository
-
Last release
1 month ago

anim4u

Download Anime Movies and TV series in your terminal

Overview

Installation

It is highly recommended you have ffmpeg installed on your machine, as some providers will require it to convert TS files to MP4.

  • Linux (Ubuntu/Debian):
sudo apt-get install ffmpeg
  • Linux (Fedora/RHEL/CentOS):
sudo dnf install ffmpeg
  • macOS (using Homebrew): First, install Homebrew if you haven't already:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Then, install FFmpeg:

brew install ffmpeg
  • Windows:
winget install --id=Gyan.FFmpeg  -e

Then install anim4u

  npm i -g anim4u
    or
  yarn global add anim4u
    or
  pnpm i -g anim4u
  1. Install from source
    git clone https://github.com/iamstarcode/anim4u.git \
    && cd anim4u \

    && npm install \
    or
    && yarn install \
    or
    && pnpm i \

    && npm install -g .

Usage

Usage: anim4u [options] [command]

Options:
  -d, --debug     show debugging errors
  -V, --version   output the version number
  -h, --help      display help for command

Commands:
  download        Download a TV series or Movie
  clear           Clear cache
  help [command]  display help for command

download

The download command is used to scrap and download anime

Usage:
 anim4u download [<provider:anime_name>] -f -r 720 -e 1-10
Options:
  -d, --debug             Debugging (default: false)
  -f, --force             Force refecth for download cache, links and searches (default: false)
  -q, --quality <number>  the prefered quality for videos
  -e, --episodes <items>  the episodes to download
  -h, --help              display help for command
anim4u download 'animepahe:one piece' -f -q 720 -e 1,7-10,100-105
*   The download argument, <provider:search_query> is used to define a supported provider and
    the anime search keyword. `'animepahe:one piece'`
*   Downloaded anime are placed in directory where the command is run.
*   The download command is efficeint by default, stores caches of every result.
*   `-f` flag is used to force new searches and ignore cache, example are when new episodes has arrived since last time the download command was run.
*   `-q` flag is used to select a prefered video quality `360`,`480`,`720`,`1080`. When not provided a prompt will be displayed to select a preferred qulaity.
*   `-e` flag takes multiple ranges of episodes to download.
      *   `100` will be only episode 100.
      *   `7-10` will be episode 7,8,9 and 10
      *   Any episode falling between multiple ranges will only download that episode once.
      *   `1-2,1-5,3-4` will only download episode 1,2,3,4 and 5, regardless how many times they occur withing multiple ranges.
*   The project cannot modify the content type. That means, videos in the `ts` format need to be converted to other formats externally post download.
*   With ffmpeg installed, it automatically converts videos to mp4.
*   The downloading process cannot be controlled for `animepahe` provider.
*   The downloading process can keep cache of previously uncompleted downloads and resume the next time.

clear

The clear command is used to delete search history and any other downloaded video caches

anim4u clear [provider|all]

Provider

These are the currently supported providers, we plan to add more soon. Some providers may stop working unexpectedly, and we try our best to have it fixed, and some time might be due to providers server runtime being down.

WebsiteSearcher PrefixAvailable QualitiesContent Extension
AnimePaheanimepahe360p, 480p, 720p, 1080pMP4
AnimePahe2animepahe2360p, 480p, 720p, 1080pMP4 / TS
GogoAnimegogoanime360p, 480p, 720p, 1080pMP4 / TS
0.1.9-rc.5

1 month ago

0.1.9-rc.6

1 month ago

0.1.9-rc.1

5 months ago

0.1.9-rc.4

5 months ago

0.1.9-rc.2

5 months ago

0.1.9-rc.3

5 months ago

0.1.9-rc1

5 months ago

0.1.8

6 months ago

0.0.8

6 months ago

0.1.7

6 months ago

0.1.6

6 months ago

0.1.5

7 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.0

8 months ago

0.1.1

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago

0.0.0-beta.5

10 months ago

0.0.0-beta.4

10 months ago

0.0.0-beta.3

10 months ago

0.0.0-beta.2

11 months ago

0.0.0-beta.1

11 months ago