alchan-official / spongebob-cli

Watch classic spongebob from the terminal!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spongebob-cli

Watch classic spongebob from the terminal! Thanks to everyone that is starring, forking, writing issues, pull requesting and just users of spongebob-cli!

updatedgif45729805790

Dependecies:

How to install:

For UNIX based OS - One Line Execution

Checkout the source code with git or download it as a .zip file.

#Sudo isn't required as long as you're in Root
git clone https://github.com/trakBan/spongebob-cli.git

cd spongebob-cli
chmod +x spongebob-cli
sudo python setup.py install

One line:

git clone https://github.com/trakBan/spongebob-cli.git; cd spongebob-cli; chmod +x spongebob-cli; sudo python setup.py install

Usage

 If the programm was ran without arguments it will list all the episodes and it will let you play them.
 --download | -d, usage --download {a number of a episode}, This will download that video under a directory the command was run.
 --download-all | -da, usage --download-all, This will download every spongebob video it scrapes.
 --binge | -b , usage spongebob-cli --binge, This is used to start the first episode and play until the last episode.
 --list | -l,     usage --list, this will list all the episodes and then exit the program.
 --list | -l, usage --list {number} this will show the number of episodes with the limit you provided.
 --play | -p      usage --play {a number of a episode}, This will play the episode without listing the episodes.
 --random | -r, usage spongebob-cli --random, This will play a random episode.
 --help | -h      usage --help this will print what each argument does.

Arch and Arch-based distributions

There is an AUR package for spongebob-cli mantained by getchoo

yay -S spongebob-cli-git

Windows

You need to install mpv through a windows package manager

Package Status

Packaging status

Episodes that are known to not work

  • Episode 30

Troubleshooting

If setup.py fails try this:

pip3 install termcolor beautifulsoup4 prettytable halo

If you're getting an error like sudo: python: command not found

git clone https://github.com/trakBan/spongebob-cli.git; cd spongebob-cli; chmod +x spongebob-cli; sudo python3 setup.py install

Gentoo users:

Run this instead:

git clone https://github.com/trakBan/spongebob-cli.git; cd spongebob-cli; chmod +x spongebob-cli; python3 setup.py install --user

If the video won't play

  • Check if you have mpv and youtube-dl installed.
    • You can also install youtube-dl through your package manager if setup.py did not install it correctly
  • If you don't have youtube-dl but a fork of it, make a alias in your .zshrc or .bashrc for youtube-dl and direct it to your fork.

Rewrite in rust!

Ali-TM-original Made spongebob-cli in rust

Contributors

yaacornus, redouane, totensee, Kat, dev-nolant

About

Watch classic spongebob from the terminal!

License:GNU General Public License v3.0


Languages

Language:Python 100.0%