Skip to content

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

License

Notifications You must be signed in to change notification settings

Anon-Exploiter/anime-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

  • aria2
  • python3
  • python3-bs4
  • python3-requests

Tested On

  • Ubuntu 18.04 LTS
  • Pop! OS 20.04 LTS
  • Windows

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

  • Fetches information about the anime, title, desc, etc.
  • Lists all episodes
  • Fetches all episodes' direct download links
  • Creates directory from the parsed episode details
  • Downloads and places all the courses inside the anime (name) folder
  • Start downloading from a specific episode

Features (not-supported/todos)

  • Continuing from a specific episode (completed)
  • Ending on a specific episode
  • Downloading only a specific episode

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