Giter Club home page Giter Club logo

kaa.si-cli's Introduction

kaa.si-cli

Status : Broken

pypresence

Stream anime using MPV player from kaa.si with python Termux compatible!

Demo video : https://youtu.be/WgQgQmZy5nE

Requirement : MPV or VLC installed to path

python library :

  • cloudscraper
  • requests
  • bs4
  • pypresence
  • pycryptodome

feedback is apreciated

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

INSTALLATION

  1. Install python (if not installed) Python website
  • Don't forget to add python to path
  1. Install VLC or MPV and add it to path
  1. Download latest package from Release or clone this repository using git clone https://github.com/Soviena/kaa.si-cli
  2. Extract and open folder as admin in cmd / powershell
  3. python setup.py install or sudo python setup.py install for linux
  4. and run kaasi in cmd / powershell to open the app
  5. Profit!

UNINSTALL

  1. pip uninstall kaasi-cli or sudo pip uninstall kaasi-cli

Note

the program will create kaasi.txt and history.txt in your working directory, i.e home directory in linux and user directory in windows.

if you have problem entering the anilist token, you can edit directly kaasi.txt.

{'player': 'mpv/vlc', 'termux': False/True, 'anilist': True, 'token': 'paste token here', 'auto': True/False, 'username': 'Anilist_username'}

gogo server is unreliable, pls open an issue if gogo server is not working

This code updated once in a while, be sure to check it

Visit Since 14/4/2022

kaa.si-cli's People

Contributors

soviena 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar

kaa.si-cli's Issues

Doesn't work after entering episode number, IndexError.

I have python and vlc in path and no anilist login.
The following is the block I got:

Traceback (most recent call last):
File "C:\Program Files\Python311\Scripts\kaasi-script.py", line 33, in
sys.exit(load_entry_point('kaasi-cli==1.0.9', 'console_scripts', 'kaasi')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Scripts\kaasi-script.py", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\importlib\metadata_init_.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Program Files\Python311\Lib\site-packages\kaasi_cli-1.0.9-py3.11.egg\kaasi_cli\kaasi.py", line 418, in
File "C:\Program Files\Python311\Lib\site-packages\kaasi_cli-1.0.9-py3.11.egg\kaasi_cli\scraper.py", line 18, in vidstreaming
IndexError: list index out of range

Add gogoanime, animixplay and zoro.to to source!

Honestly this project is so amazing, you look up for anime and start it within 30 sec! and The best part, it has Anilist integration!
but the anime sources is disappointing part! Most of them doesn't even load or are jus really slow!
adding other souces would be great and awesome!
Requesting you to fix this when you have free time!

Request for implementation of ani-skip feature for auto-skipping opening sequences in kaa.si-cli

I am requesting the implementation of a new feature called ani-skip. This feature would allow users to choose whether or not they want to automatically skip the opening sequences of an anime episode when using the kaa.si-cli.

This feature would be especially useful for those who have already watched the opening sequence or simply want to get to the main content of the episode as quickly as possible. It would save users time and make the viewing experience more efficient.

I suggest that this functionality could be accessed using some flag. For example, kaa.si-cli -flag would enable the feature, while kaa.si-cli would disable it. This would allow users to easily toggle the feature on or off as needed.

Thank you for considering this feature request.

AniList API suddenly stopped working...

Version 1.0.7

Error:

FAILED TO CONNECT TO ANILIST!

Too Many request or anilist API is down!
pls wait a few minutes and try again

I have waited for days just to see if it was just the API which was offline or that I've sent too many requests, AniList does not have anywhere to check the status of the API.

I type in a show, then it asks me the stuff and when I select an episode, this error comes up.

Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/bin/kaasi", line 33, in <module> sys.exit(load_entry_point('kaasi-cli==1.0.9', 'console_scripts', 'kaasi')()) File "/Library/Frameworks/Python.framework/Versions/3.10/bin/kaasi", line 25, in importlib_load_entry_point return next(matches).load() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/metadata/__init__.py", line 171, in load module = import_module(match.group('module')) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/kaasi_cli-1.0.9-py3.10.egg/kaasi_cli/kaasi.py", line 410, in <module> File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/kaasi_cli-1.0.9-py3.10.egg/kaasi_cli/kaa.py", line 43, in select_episode File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/kaasi_cli-1.0.9-py3.10.egg/kaasi_cli/kaa.py", line 10, in parse_appData File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

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.