Coder Social home page Coder Social logo

shanksezz / gogoanime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tonder0812/gogoanime

0.0 0.0 0.0 185 KB

A python application to auto download anime from the https://gogoanimehd.to website

License: MIT License

Shell 0.10% Python 99.80% Batchfile 0.10%

gogoanime's Introduction

GogoAnime downloader

A python application to auto download anime from the https://gogoanimehd.io website

It's necessary to have a logged in gogoanime account

Instalation

Run the install script to create the config folder

Windows

> ./install.bat

Linux

$ ./install.sh

Usage

Windows

> python check.py [-c]

Linux

$ python3 check.py [-c]

Flags

The -c flag makes the program run continually (every five minutes)

Use the up and down arrows or scroll to go up and down

Config

The config folder has 4 files inside:

  • config.json a json file that can have the following options
    • download_path the path to a folder where to save the downloaded anime. Defaults to ./Downloads
    • notification_file_location the path to a folder containing 2 files new.txt and downloaded.txt and appends a new line with <anime_name> - <episode> to each every time that an episode starts or finishes downloading respectively. Defaults to null making it not write anything
    • browser the browser that has the gogoanime account logged in one of (chrome, chromium, opera, brave, edge, vivaldi, firefox, safari). Defaults to chrome
    • cookies_location the path directly to the cookie file of the corresponding browser. If not set the code uses the default location for the browser
    • max_full_tries the number of tries permited when downloading an episode must de a positive integer or -1 (infinite). Defaults to 50
    • max_inner_tries the number of tries permited when downloading a segment of an episode must de a positive integer or -1 (infinite). Defaults to 50
    • segments the number of segments to split the episode into when downloading (each segment is downloaded sepeartly and joined into a single file making it possible to bypass download speed limits) must de a positive integer. Defaults to 10
    • gogoanime_domain the domain of the gogoanime site. Defaults to gogoanimehd.io
  • new.txt a text file used to add new anime to the watching list safely if the program is running (one file per line in the format <anime-id> | or <anime-id> | <anime-name>)
  • quit.txt if this file has any content inside the program will finish any download it is doing and close (only works if running in continuous mode)
  • watching.txt a text file containing the currently queued anime, which episodes have already been downloaded separated only by a , and, if provided, a name for the anime, if omited the name present in the anime page will be used. The anime are listed one per line in one of the following formats:
    • <anime-id>
    • <anime-id> <list of episodes>
    • <anime-id> | <anime-name>
    • <anime-id> <list of episodes> | <anime-name>

gogoanime's People

Contributors

tonder0812 avatar snyk-bot avatar

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.