anime-downloader/README.md

111 lines
3.7 KiB
Markdown
Raw Normal View History

2018-02-04 15:33:18 -08:00
# Anime Downloader
2018-05-27 12:58:04 -07:00
[![Build Status](https://travis-ci.com/vn-ki/anime-downloader.svg?branch=master)](https://travis-ci.com/vn-ki/anime-downloader)
[![codecov](https://codecov.io/gh/vn-ki/anime-downloader/branch/master/graph/badge.svg)](https://codecov.io/gh/vn-ki/anime-downloader)
2018-05-28 01:02:45 -07:00
[![PyPI pyversions](https://img.shields.io/badge/python-3.3%2B-blue.svg)](https://pypi.org/project/anime-downloader/)
2018-05-27 12:58:04 -07:00
2018-05-30 04:29:23 -07:00
Ever dreamt about watching anime for free effortlessly without all those unbearable ads? Ever dreamt of downloading your favourite anime for that long trip?
2018-05-29 12:30:59 -07:00
![kawaii](https://media.giphy.com/media/f0yOYF0EtwSVa/giphy.gif)
Yeah. Me too! That's why this tool exists.
2018-02-04 15:33:18 -08:00
2018-05-30 04:26:10 -07:00
## Features
- Download or stream any episode or episode range of any anime.
- Specify the quality you want to stream or download.
2018-06-03 02:12:03 -07:00
- Search and download. (Only 9anime)
2018-05-30 04:26:10 -07:00
- Save yourselves from those malicious ads.
2018-06-03 05:43:19 -07:00
- Add any anime to your watch list using `anime watch` and let anime downloader take care of everything for you.
2018-05-30 04:26:10 -07:00
2018-06-01 06:09:18 -07:00
## Supported Sites
- 9anime
2018-06-03 01:42:06 -07:00
- KissAnime [cloudflare]
- KissCartoon [cloudflare]
2018-06-01 06:09:18 -07:00
2018-02-04 15:33:18 -08:00
## Installation
2018-02-05 15:23:59 -08:00
You can install the stable release from PyPI.
2018-05-28 01:02:45 -07:00
```bash
2018-02-05 15:23:59 -08:00
$ pip install anime-downloader
```
2018-05-28 01:02:45 -07:00
To install the dev version
```bash
2018-05-29 12:30:59 -07:00
$ pip install -U git+https://github.com/vn-ki/anime-downloader.git
2018-02-04 15:33:18 -08:00
```
2018-05-28 01:02:45 -07:00
*NOTE: You might have to use pip3 depending on your system*
2018-02-04 15:33:18 -08:00
2018-06-03 01:42:06 -07:00
Cloudflare support is currently only available in master. Use the following command to install with cloudflare support.
2018-06-01 12:13:27 -07:00
```bash
pip install -U git+https://github.com/vn-ki/anime-downloader.git#egg=anime-downloader'[cloudflare]'
2018-06-01 12:13:27 -07:00
```
2018-06-03 01:42:06 -07:00
**IMP**: For cloudflare scraping [cfscrape](https://github.com/Anorov/cloudflare-scrape) is used. It depends on `node-js`. So if you want to use cloudflare, make sure you have node installed.
2018-06-01 12:13:27 -07:00
2018-02-04 15:33:18 -08:00
## Usage
2018-06-03 05:43:19 -07:00
Anime downloader has two sub commands, `dl` and `watch`. You can find the documentation in [wiki](https://github.com/vn-ki/anime-downloader/wiki)
2018-02-04 15:33:18 -08:00
2018-06-03 02:12:03 -07:00
- [dl](https://github.com/vn-ki/anime-downloader/wiki/dl-command)
- [watch](https://github.com/vn-ki/anime-downloader/wiki/watch-command)
2018-05-29 10:41:40 -07:00
#### Search and download
- To search and download all episodes.
```bash
2018-05-30 04:26:10 -07:00
anime dl 'code geass'
2018-05-29 10:41:40 -07:00
```
*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
2018-02-04 15:33:18 -08:00
- To download Fullmetal Alchemist: Brotherhood all episodes
```
2018-05-30 04:26:10 -07:00
anime dl 'https://9anime.is/watch/fullmetal-alchemist-brotherhood.0r7/j69y93'
2018-02-04 15:33:18 -08:00
```
- To download Fullmetal Alchemist: Brotherhood episode 1
```
2018-05-30 04:26:10 -07:00
anime dl 'https://9anime.is/watch/fullmetal-alchemist-brotherhood.0r7/j69y93' --episodes 1
2018-02-04 15:33:18 -08:00
```
- To download Fullmetal Alchemist: Brotherhood episode 1 to 20
```
2018-05-30 04:26:10 -07:00
anime dl 'https://9anime.is/watch/fullmetal-alchemist-brotherhood.0r7/j69y93' --episodes 1:21
2018-02-04 15:33:18 -08:00
```
2018-02-05 07:01:37 -08:00
- To get stream url of Fullmetal Alchemist: Brotherhood episode 1.
2018-02-04 15:33:18 -08:00
```
2018-05-30 04:26:10 -07:00
anime dl 'https://9anime.is/watch/fullmetal-alchemist-brotherhood.0r7/j69y93' --url --episodes 1
2018-02-04 15:33:18 -08:00
```
2018-02-05 07:01:37 -08:00
- To play using vlc. (On windows use path to exe)
```
2018-05-30 04:26:10 -07:00
anime dl 'https://9anime.is/watch/fullmetal-alchemist-brotherhood.0r7/j69y93' --play vlc --episodes 1
2018-02-05 07:01:37 -08:00
```
2018-02-05 15:23:59 -08:00
2018-05-29 12:30:59 -07:00
### 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](https://github.com/vn-ki/anime-downloader/blob/master/package_usage.md).
2018-05-28 01:02:45 -07:00
## Development Instructions
``` bash
# Clone this repo
$ git clone https://github.com/vn-ki/anime-downloader.git
# Run setup.py
$ cd anime-downloader
$ pip install -e .
```
2018-05-27 11:10:41 -07:00
2018-05-30 04:26:10 -07:00
*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.*
2018-05-29 12:30:59 -07:00
**arigatou gozaimasu**
2018-05-30 04:26:10 -07:00
![arigatou](https://media.giphy.com/media/VUC9YdLSnKuJy/giphy.gif)