AnimDL - Download & Stream Your Favorite Anime
AnimDL is an incredibly powerful tool for downloading and streaming anime.
Core features
- Abuses the developer's knowledge of internal streaming mechanisms in various different sites to hunt down high quality stream links.
- Doesn't make a single unnecessary request; the official site may make 1k requests, this tool makes 3~5.
- Doesn't use any heavy dependencies such as Selenium or Javascript Evaluators.
- Effectively bypasses DRMs in several streaming sites.
- Integrates AnimeFillerList so that the user can filter out any fillers from downloading or streaming.
- Integrates powerful, fast and efficient internal HLS downloader.
- Only tool in existence to bypass 9Anime's cloudflare protection.
- Operates with full efficiency and speed by using Python's generator functions to their full capacity.
- Supports streaming with
mpv
, an incredibly efficient, fast and light-weight dependency.
Usage
animdl.py [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
continue Continue your downloads or stream from where t'was left.
download Download your favorite anime by query.
grab Stream the stream links to the stdout stream for external usage.
stream Stream your favorite anime by query.
Examples:
- Streaming One Piece on 9Anime from episode 1 by placing a search forehand:
-
animdl.py stream -q "one piece" -s 1
- Streaming One Piece on 4Anime from episode 1 by placing a search forehand.
-
animdl.py stream -q "4anime:one piece" -s 1
- Streaming One Piece on 9Anime with anime url from episode 1.
-
animdl.py stream -q "https://9anime.to/watch/one-piece.ov8" -s 1
- Streaming with the setting of 3 with AnimeFillerList integration that filters out fillers.
-
animdl.py stream -q "https://9anime.to/watch/one-piece.ov8" -s 1 -fl "https://animefillerlist.com/shows/one-piece" --fillers
- Continuing a previous stream / download session without worrying about the command.
-
animdl.py continue
- Scraping the episode stream links of One Piece from 9Anime to stdout without downloading:
-
animdl.py grab -q "https://9anime.to/watch/one-piece.ov8" -s 1
Downloading is the same as the examples 1-4, except the download
command is used.
Installation
Clone / download the repository and simply run the following command in the working directory:
pip install -r requirements.txt
Support: Python 3.6 and higher
Supported Sites
Website | Searcher Prefix | Available Qualities | Status | Content Fetch Speed (Per Episode) |
Content Extension |
---|---|---|---|---|---|
4Anime | 4anime |
720p, 1080p | 1.66s |
MP4 | |
9Anime | 9anime |
720p, 1080p | 3.27s |
MP4 / TS | |
Anime1 | anime1 |
480p, 720p | 23.29s |
MP4 | |
AnimeFreak | animefreak |
720p, 1080p | Untested | MP4 | |
AnimePahe | animepahe |
720p, 1080p | 4.15s |
TS | |
Animixplay | animix |
480p, 720p, 1080p | 4.17s |
MP4 / TS | |
GogoAnime | gogoanime |
480p, 720p, 1080p | 2.34s |
MP4 / TS | |
Twist | twist |
720p, 1080p | 2.96s |
MP4 |
More sites?
Currently, there are no plans to add more sites as AnimDL supports top sites that stream anime. However, this does not mean that this is it for the sites. You can raise as many issues as possible for requesting a new site.
Note: Your request may be denied in case of Cloudflare protections and powerful anti-bot scripts in the site.
Streaming
Streaming needs an additional dependency known as mpv
, you can download it from here.
If you're having issues with the installation of mpv, you can make an issue to recieve full help on its installation and usage.
Disclaimer
Downloading or streaming copyrighted materials might be illegal in your country.