Skip to content

dl command

Vishnunarayan K I edited this page Jul 17, 2018 · 6 revisions

anime dl

Run anime dl --help for help text on dl subcommand.

$ anime dl --help
Usage: anime dl [OPTIONS] ANIME_URL

  Download the anime using the url or search for it.

  -e, --episodes <int>:<int>      Range of anime you want to download in the
                                  form <start>:<end>
  -u, --url                       If flag is set, prints the stream url
                                  instead of downloading
  --play PLAYER                   Streams in the specified player
  --skip-download                 Retrieve without downloading
  --download-dir PATH             Specifiy the directory to download to
  -q, --quality [360p|480p|720p|1080p]
                                  Specify the quality of episode. Default-720p
  -f, --force-download            Force downloads even if file exists
  -ll, --log-level [DEBUG|INFO|WARNING|ERROR]
                                  Sets the level of logger
  -ff, --file-format FORMAT STRING
                                  Format for how the files to be downloaded be
  --provider [9anime|kissanime]   The anime provider (website) for search.
  -xd, --external-downloader DOWNLOAD COMMAND
                                  Use an external downloader command to
                                  download. Use "{aria2}" to use aria2 as
                                  downloader. See github wiki.
  --help                          Show this message and exit.

You can use this tool to search and download or download directly from the url.

It is recommended to use the external downloader functionality with aria2c because it will be faster than the internal downloader: Use the argument -xd "{aria2}"

Search and download

  • To search and download all episodes.
anime dl 'code geass'

To search on kissanime,

anime dl 'code geass' --provider kissanime

NOTE: The above command shows the search results (which would fit you're terminal size :innocent:) and you can select the desired result.

Download directly

  • To download Fullmetal Alchemist: Brotherhood all episodes
anime dl ''
  • To download Fullmetal Alchemist: Brotherhood episode 1
anime dl '' --episodes 1
  • To download Fullmetal Alchemist: Brotherhood episode 1 to 20
anime dl '' --episodes 1:21
  • To get stream url of Fullmetal Alchemist: Brotherhood episode 1.
anime dl '' --url --episodes 1
  • To play using vlc. (On windows use path to exe)
anime dl '' --play vlc --episodes 1
You can’t perform that action at this time.