Skip to the content.

Anime-dl

made-with-python GitHub Contributors GitHub closed issues Twitter

Python3 script to download subbed animes from 4anime.to, gogoanime.ai, and gogoanime.be (the sites with best quality i.e. 1080p)

Note: Right now only gogoanime.be’s downloading is working fine.

asciicast

Description

Anime-dl requires Python3 and aria2 (for working/parsing/downloading). ( ͡° ͜ʖ ͡°)

It automates everything, all you’ve to do is to pass whichever anime you want to download and it’ll fetch all the episodes, their DDLs, create a new directory with anime as the name, use aria2c to download 2 episodes in parallel by default. (customizable config with usage of -p arg)

Please note that 4anime.to doesn’t support sometimes downloading of old animes! Better to switch onto gogoanime.ai or gogoanime.be

Where do I get anime list?

Anime list (4anime.to): https://4anime.to/browse

Anime list (gogoanime.ai): https://gogoanime.ai/anime-list.html

Anime list (gogoanime.be): https://gogoanime.be/

Requirements (to be installed)

Tested On

Installation

mkdir env && cd env
python3 -m venv . 
source bin/activate 
cd -
pip install -r requirements.txt

sudo apt-get update && sudo apt-get install -y aria2

Usage

Downloading a series with (no and) five parallel processes

python3 anime-dl.py --url https://gogoanime.ai/category/mob-psycho-100 -p 5
python3 anime-dl.py --url https://4anime.to/anime/mob-psycho-100
python3 anime-dl.py --url https://gogoanime.be/anime/mob-psycho-100-aE4/ -p 10

Starting the series from a specific point (i.e. from 138th episode till end)

python3 anime-dl.py --url https://gogoanime.ai/category/black-clover-tv -p 5 -s 140
python3 anime-dl.py --url https://4anime.to/anime/black-clover -s 138
python3 anime-dl.py --url https://gogoanime.be/anime/mob-psycho-100-aE4/ -s 5

Downloading a single episode

python3 anime-dl.py --url https://gogoanime.ai/jujutsu-kaisen-tv-episode-23
python3 anime-dl.py --url https://gogoanime.be/watch/mob-psycho-100-aE4-episode-12/

Features

Features (not-supported/todos)

Filing Bugs/Contribution

Feel free to file a issue or create a PR for that issue if you come across any.

Sum screenshots pls

Todos (if anyone wants to contribute):

Changelog

| Changes | Release | | —————————————————————————————————————————————– | ————————————————— | | Integrates downloading from gogoanime.ai in addition to 4anime.to | 2.0 - 20-03-2021 | | Fixes major bugs causing issues while downloading episodes from 4anime.to | 1.0 - 10-03-2021 | | Second release allowing user to start from a specific episode | 0.2 - 23-09-2020 | | Initial release only integrating downloading of anime episodes from google appspot application | 0.1 - 21-09-2020 |