Skip to main content

Download your favourite anime

Project description

Anime Downloader

Build Status codecov PyPI pyversions PyPI

NOTE: 9anime support has been experiencing issues for the past week. It might work but not 100% reliable. Kissanime still works as expected.

Ever dreamt about watching anime for free effortlessly without all those unbearable ads? Ever dreamt of downloading your favourite anime for that long trip?

kawaii

Yeah. Me too! That's why this tool exists.

Features

  • Download or stream any episode or episode range of any anime.
  • Specify the quality you want to stream or download.
  • Search and download. (Only 9anime)
  • Save yourselves from those malicious ads.
  • Add any anime to your watch list using anime watch and let anime downloader take care of everything for you.
  • Configurable using config.json. See doc.

Supported Sites

  • 9anime
  • KissAnime [cloudflare]
  • KissCartoon [cloudflare]
  • Gogoanime

NOTE: To download from sites marked [cloudflare], anime-downloader has to be installed with cloudflare support(See below).

Installation

You can install the stable release from PyPI.

$ pip install anime-downloader

To install with cloudflare support,

$ pip install anime-downloader[cloudflare]

To install the dev version

$ pip install -U git+https://github.com/vn-ki/anime-downloader.git

# To install with cloudflare support
$ pip install -U git+https://github.com/vn-ki/anime-downloader.git#egg=anime-downloader[cloudflare]

If you have trouble installing, see extended installation instructions here.

IMP:

  • For cloudflare scraping cfscrape is used. It depends on node-js. So if you want to use cloudflare, make sure you have node-js installed.
  • You might have to use pip3 depending on your system
  • If you are using zsh, don't forget to escape [ and ] using \.

Usage

Anime downloader has two sub commands, dl and watch. You can find the documentation in wiki

  • dl: dl can download anime.
  • watch: watch can manage your anime watching. Needs mpv. With watch you'll never have to go to any anime sites ever again.

Search and download

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

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 'https://9anime.is/watch/fullmetal-alchemist-brotherhood.0r7/j69y93'
  • To download Fullmetal Alchemist: Brotherhood episode 1
anime dl 'https://9anime.is/watch/fullmetal-alchemist-brotherhood.0r7/j69y93' --episodes 1
  • To download Fullmetal Alchemist: Brotherhood episode 1 to 20
anime dl 'https://9anime.is/watch/fullmetal-alchemist-brotherhood.0r7/j69y93' --episodes 1:21
  • To get stream url of Fullmetal Alchemist: Brotherhood episode 1.
anime dl 'https://9anime.is/watch/fullmetal-alchemist-brotherhood.0r7/j69y93' --url --episodes 1
  • To play using vlc. (On windows use path to exe)
anime dl 'https://9anime.is/watch/fullmetal-alchemist-brotherhood.0r7/j69y93' --play vlc --episodes 1

To use anime_downloader in your package

This tool can be used as a library. This means you can import it into your own application and search for anime and do many other wonderful things. See documentation.

Development Instructions

# Clone this repo
$ git clone https://github.com/vn-ki/anime-downloader.git

# Run setup.py
$ cd anime-downloader
$ pip install -e .

Please don't judge me for not paying for anime. I want to support these animation studios, but being a college student, I can't.

arigatou gozaimasu

arigatou

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anime-downloader-2.7.0.linux-x86_64.tar.gz (37.5 kB view details)

Uploaded Source

Built Distribution

anime_downloader-2.7.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file anime-downloader-2.7.0.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for anime-downloader-2.7.0.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 2441cae0a02ca58ebfe323f58debe3d21d960de564aa69cf2985d75b499a8e54
MD5 2d59c3658794f44d1065396f4c782871
BLAKE2b-256 85412900630a684ea4000b8cb0fd6fa8acb365277cf5375ccf8ff64cfee1f855

See more details on using hashes here.

File details

Details for the file anime_downloader-2.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for anime_downloader-2.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d991309fe00eae603234428e7cac0f42909a0423091eed33af59ead09778d0a0
MD5 5b36aee71edaad64b1d27783399e4bb5
BLAKE2b-256 a55d01bf944d7def81d89b86e2431e2dfaf191708b3680a52a14744b579a9a2a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page