Giter VIP home page Giter VIP logo

anime-dl's Introduction

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

anime-dl's People

Contributors

anon-exploiter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

anime-dl's Issues

[Error] Can't download anime files anymore

Apparently, there's a bug while accessing the files through the script. The episode of whichever anime when accessed through browser gets the following host:

mountainoservoo002

While from the script the host becomes:

mountainoservo0002


Will have to look into some requests to fix this, logging here to work on.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.