You can now bulk download your favourite anime episodes for various websites, in various resolutions, with or without filler episodes
If this project is helpful to you and love my work and feel like showing love/appreciation, would you like to buy me a coffee?
Website | Need recaptcha token? | Supported resolutions | FFMPEG needed? | File Size | Additional Notes |
---|---|---|---|---|---|
9Anime | Yes | Default only | No | 500-600MB | Will always work, provided token |
4Anime | No | Default only | No | Around 150MB | Upon failure, visit 4anime website and restart anime downloader |
AnimePahe | No | 720p, 1080p | No | 720p: ~150MB, 1080p: ~200MB | 2captcha API key is needed to download from AnimePahe. Also download speed is capped by host |
AnimeUltima | No | 240p, 360p, 480p, 720p, 1080p | Yes | 1080p is around 1GB | AnimeUltima is having issues in their end. Will be supported again once they are backup |
Note : Currently only windows executable is provided (Linux, Mac users go to Build from source)
Download the Latest Relase from here and extract the zip file
First of all for websites which require capatcha token, Anime Downloader uses 2captcha to bypass google recaptcha, so you need to purchase one (Check whether your anime website needs captcha token)
Open settings.json and set 2captcha API key in "api_key"
"api_key":"insert_2captcha_api_key"
Don't have 2captcha API key? Don't worry! You can still use this to download anime. Check the "FAQ" section on how to download if you don't have a 2captcha API key
And in order to download from some websites (like animeultima.to) Anime Downloader requires you to have FFMPEG to be downloaded (Check whether your anime website needs FFMPEG)
- You can download FFMPEG from here
- And then add the ffmpeg executable to system path Or, in your linux environment,
sudo apt install ffmpeg
Download failed and weird error came? Don't worry, it's because these websites are protected by various security measures. Simply, just visit the website manually, and restart the anime downloader!
Still not able to download? Go ahead and post your issue here. And I will look into the error and give necessary fixes!
Navigate to the extracted folder and open a cmd or powershell window from that folder and execute "anime-dl.exe" from command line.
It is same as the CLI version, but provided a graphical user interface to collect necessary parameters.
Execute the "anime-dl.exe" to start.
If you're running from source files, execute the "anime-dl.py" script
python3 ./anime-dl.py
And the GUI will appear as following :
Note : If you don't have a 2captcha API key, you need to provide "Recaptcha Token" in the given text field for websites require captcha token (check FAQ section)
First of all, you need to be familiar with the commands you can use with the Anime Downloader.
Commands List :
-h, --help show this help message and exit
-u, --url 9Anime.to URL for the anime to be downloaded
-n, --names https://www.animefillerlist.com/ URL to retrieve episode titles
-d, --directory Download destination. Will use the current directory if not provided
-s, --start Starting episode
-e, --end End episode
-c, --code Recaptcha answer token code. Insert this if you don't have 2captcha captcha bypass api_key
-t, --threads Number of parrallel downloads. Will download sequencially if not provided
-f, --filler Whether fillers needed (True/False)
Above mentioned are the arguments you should use in order to download anime.
The below FAQ section provides examples on how to download anime using Anime Downloader
./anime-dl.exe -u https://9anime.to/watch/one-piece.ov8/169lyx -s 10 -e 20 -n https://www.animefillerlist.com/shows/one-piece
Explantion of the commands used :
- -u https://9anime.to/watch/one-piece.ov8/169lyx : After the "-u" the 9anime.to url for one piece anime is provided
- -s 10 : start downloading from 10th episode (included)
- -e 20 : end downloading at 20th episode (included)
- -n https://www.animefillerlist.com/shows/one-piece : Provide the animefillerlist.com url for one piece episodes list (this is required)
./anime-dl.exe -u https://9anime.to/watch/one-piece.ov8/169lyx -s 10 -e 20 -n https://www.animefillerlist.com/shows/one-piece -d "D:\Anime\One Piece"
Explanation of commands :
- -d "D:\Anime\One Piece" : Download the episodes into "D:\Anime\One Piece" folder
Q - How can I download bleach episodes 100 to 130 into "D:\Anime\Bleach" folder and download 4 episodes at once?
./anime-dl.exe -u https://9anime.to/watch/bleach.6j9/lz7wvq -s 100 -e 130 -n https://www.animefillerlist.com/shows/bleach -d "D:\Anime\Bleach" -t 4
Explanation of commands :
- -t 4 : Perform 4 downloads at once
Q - How can I download bleach episodes 100 to 130 without filler episodes into "D:\Anime\Bleach" folder and download 3 episodes at once?
./anime-dl.exe -u https://9anime.to/watch/bleach.6j9/lz7wvq -s 100 -e 130 -n https://www.animefillerlist.com/shows/bleach -d "D:\Anime\Bleach" -t 3 -f False
Explanation of commands :
- -f False : Avoid downloading filler episodes in the given range (Default : True)
Answer : Yes ofcourse! If you don't have a 2captcha API key to bypass captcha, you can still download your favourite anime! But how? Follow these steps and you will be up and running in no time!
Let's try it!
Note : There was a bug in v0.0.2-alpha release regarding this solution, so please download v0.0.3-alpha
Assumptions : let's assume you want to download bleach episodes as in the previous question
Steps :
- Open a private window in the browser (ex: Google chrome)
- Go to the 9anime url (Bleach page) (https://9anime.to/watch/bleach.6j9/lz7wvq)
- Now the recaptcha will appear
- Right click and open inspection mode (ctrl+shift+i for google chrome)
- Solve the recaptcha appeared on page (DO NOT SUBMIT!)
- Find the captcha answer from the webpage using inspector
Answer is the "value" of the "input" element with the id "recaptcha-token" (Find for element using this id using ctrl+f to find) Copy the "value" of the input tag
So the value/recpacha answer is :
"03AERD8Xode9TV-gFkG-7CNkllpKoiXfDKVEZ0Lu9NjGpxVv89bjwNHkS5bcfXHqKXx746tsNW_IUMhSVV7Aym-lcvdn6jd5Ggy1a28AQ_BI1K380joLpYReKB0EOjJjO2oVEUpOgtPu0fgfjxABKpI9EjrDZ0T7iSsKDPfhnXebQcZxIbAwelADkZ8m4qYojn3J_-kQyreIRCEztWyTTpm_SoNt6lIpFxG-egDFqVF6Sg7ICPp0QQrPa5UC-6pecgs_3xspg7PN48VOXGfHH4PCARIaGVL-J5CYNsesqUuZ4t_4kni9euduhtB3KCrV1_IYOhymepwczWIKKPGmze2DKVddoDBABlS8NZaxHRFAzNjjJHOhlRyblBMlmerK_Mu5N25bZeY5ZZ"
Now we have what we need!
All you have to do is, add -c or --code command to the previous example's code like below
./anime-dl.exe -u https://9anime.to/watch/bleach.6j9/lz7wvq -s 100 -e 130 -n https://www.animefillerlist.com/shows/bleach -d "D:\Anime\Bleach" -t 4 -f False -c 03AERD8Xode9TV-gFkG-7CNkllpKoiXfDKVEZ0Lu9NjGpxVv89bjwNHkS5bcfXHqKXx746tsNW_IUMhSVV7Aym-lcvdn6jd5Ggy1a28AQ_BI1K380joLpYReKB0EOjJjO2oVEUpOgtPu0fgfjxABKpI9EjrDZ0T7iSsKDPfhnXebQcZxIbAwelADkZ8m4qYojn3J_-kQyreIRCEztWyTTpm_SoNt6lIpFxG-egDFqVF6Sg7ICPp0QQrPa5UC-6pecgs_3xspg7PN48VOXGfHH4PCARIaGVL-J5CYNsesqUuZ4t_4kni9euduhtB3KCrV1_IYOhymepwczWIKKPGmze2DKVddoDBABlS8NZaxHRFAzNjjJHOhlRyblBMlmerK_Mu5N25bZeY5ZZ
Answer :
Assumptions : let's assume you want to download bleach episodes as in the previous question
This can be solved in 2 steps.
-
Run the anime-dl commands without -c/--code command (like you have a 2captcha key) This will probably give error, but that's what we need.
-
Now try loading the recaptcha page in private browsing. It will appear!
Answer :
Assumptions : you're trying to run the GUI on Ubuntu (or some other version of it, like Linux Mint)
This can be solved in 2 steps.
-
Open a terminal and type in this command:
sudo apt install python3-tk
-
Enter your password (it will not be shown)
If the command doesn't work, you may need to run sudo apt update
first then run the other command again. Once it's installed, the GUI should function correctly.
- Clone the project using to your local machine
- Make sure python 3.7+ (preferably the latest version) and pip3 is installed
- Download the dependancies using requirements.txt file
pip install -r requirements.txt
-
Rename settings_example.json as settings.json
-
Open settings.json and set 2captcha API key in "api_key"
"api_key":"insert_2captcha_api_key"
If you don't have a 2captcha API key purchased, check the "FAQ" section on how to download if you don't have a 2captcha API key
Anime Downloader is a CLI application which takes command line arguments in execution time
Note : The package structure has been changed and the source (working) directory is now "anime_downloader/"
First change your working directory to "anime_downloader/" before running the script
cd /path/to/anime_downloader/
To see the full available commands, run
python ./Anime_Downloader.py --help
usage: Anime_Downloader.py [-h] -u <URL> -n <TITLE_URL> [-d <DIR>] [-s <START>]
[-e <END>] [-c <TS_NO>] [-t <THREADS>] [-f <ISFILLER>]
Anime Downloader Command Line Tool
optional arguments:
-h, --help show this help message and exit
-u, --url 9Anime.to URL for the anime to be downloaded
-n, --names https://www.animefillerlist.com/ URL to retrieve episode titles
-d, --directory Download destination. Will use the current directory if not provided
-s, --start Starting episode
-e, --end End episode
-c, --code Recaptcha answer token code. Insert this if you don't have 2captcha captcha bypass api_key
-t, --threads Number of parrallel downloads. Will download sequencially if not provided
-f, --filler Whether fillers needed (True/False)
Download One Piece episodes from 130 to 180 without filler episodes into "K:\Anime\One-Piece" folder with episode names (3 simultanious downloads a time)
python3 ./Anime_Downloader -u https://9anime.to/watch/one-piece.ov8/169lyx -s 130 -e 180 -f False -d "F:\Anime\One-Piece" -n https://www.animefillerlist.com/shows/one-piece -t 3
- Oshan Mendis - Author - Oshan96
This project is licensed under the MIT License - see the LICENSE.md file for details
Anime Downloader wouldn't be possible without these awesome free and opensource projects!
This software has been developed only for educational purposes by the Author. By no means this encourage content piracy. Please support original content creators!