Skip to main content

Little tool in python to watch anime from the terminal (the better way to watch anime)

Project description

waving

https://user-images.githubusercontent.com/63876564/162056019-ed0e7a60-78f6-4a2c-bc73-9be5dc2a4f07.mp4

Little tool written in python to watch and download anime from the terminal (the better way to watch anime), also applicable as an API.

Scrapes: https://gogoanime.gg

Contents

Installation

PyPI

Recommended installation:

python3 -m pip install anipy-cli --upgrade

Directly from the repo (may be newer):

python3 -m pip install git+https://github.com/sdaqo/anipy-cli

Other methodes can be found in docs/install.md

For Videoplayback mpv is needed get it here: https://mpv.io/installation/

Optionally you can install ffmpeg to download m3u8 playlists instead of the internal downloader. Use it with the -f flag. This is something you only want to enable when the internal downlaoder fails, since its pretty slow.

Usage

usage: anipy_cli.py [-h] [-q QUALITY] [-H] [-d] [-D] [-b] [-s] [-f] [-c] [-o] [-a]

Play Animes from gogoanime in local video-player or Download them.

options:
  -h, --help            show this help message and exit
  -q QUALITY, --quality QUALITY
                        Change the quality of the video, accepts: best, worst or 360, 480, 720 etc. Default: best
  -H, --history         Show your history of watched anime
  -d, --download        Download mode. Download multiple episodes like so: first_number-second_number (e.g. 1-3)
  -D, --delete-history  Delete your History.
  -b, --binge           Binge mode. Binge multiple episodes like so: first_number-second_number (e.g. 1-3)
  -s, --seasonal        Seasonal Anime mode. Bulk download or binge watch newest episodes.
  -f, --ffmpeg          Use ffmpeg to download m3u8 playlists, may be more stable but is way slower than internal downloader
  -c, --config          Print path to the config file.
  -o, --no-kitsu        Turn off search in season. Disables prompting if kitsu is to be searched for anime in specific season.
  -a, --auto-update     Automatically update and download all Anime in seasonals list from start EP to newest.

What it can do

  • Faster than watching in the browser.
  • Play Animes in Your Local video player
  • Select a quality in which the video will be played/downloaded.
  • Download Animes
  • History of watched Episodes
  • Binge Mode to watch a range of episodes back-to-back.
  • Seasonal Mode to bulk download or binge watch the latest episodes of animes you pick
  • (Optional) Search Kitsu for animes in specific seasons. Avalible for the dwonload cli and the seasonal mode. Turn it off with -o flag.
  • (Optional) Discord Presence for the anime you currently watch. This is off by default, activate it in the config (-c)
  • (Optional) Ffmpeg to download m3u8 playlists, may be more stable but is slower than internal downloader.

Libary Usage

Documentation can be found here

Important:

To import the libary dont import anipy-cli, but anipy_cli (no '-' is allowed)

Other versions

Credits

Heavily inspired by https://github.com/pystardust/ani-cli/

All contributors for contributing

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anipy_cli-2.4.9.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anipy_cli-2.4.9-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

Details for the file anipy_cli-2.4.9.tar.gz.

File metadata

  • Download URL: anipy_cli-2.4.9.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for anipy_cli-2.4.9.tar.gz
Algorithm Hash digest
SHA256 bdb4eb750fcdf06f2543ee7875364d0cd4fcbbf11cf58e496d3115ac1b7a493a
MD5 808654ab0492c8b0c6e356e1c6366cea
BLAKE2b-256 4af3dcf9f5c73b4b066e88ad286d7845657a2c68648b194f7cb9b7c3f32431cb

See more details on using hashes here.

File details

Details for the file anipy_cli-2.4.9-py3-none-any.whl.

File metadata

  • Download URL: anipy_cli-2.4.9-py3-none-any.whl
  • Upload date:
  • Size: 35.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for anipy_cli-2.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0220a17cb4ea790202465b1c9c02fec2ac2e7570c1bf00c9267f8db8337b4ee9
MD5 aa0d7b3f8576ea9f0e5ad24f54830942
BLAKE2b-256 f181683857c575e9cb52346bc350a567d6e2708d07e744d74deec165a70a6e6a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page