Watch classic spongebob from the terminal! Thanks to everyone that is starring, forking, writing issues, pull requesting and just users of spongebob-cli!
- mpv player https://mpv.io/ (Must be installed through a package manager)
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
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.
There is an AUR package for spongebob-cli mantained by getchoo
yay -S spongebob-cli-git
You need to install mpv through a windows package manager
- Episode 30
pip3 install termcolor beautifulsoup4 prettytable halo
git clone https://github.com/trakBan/spongebob-cli.git; cd spongebob-cli; chmod +x spongebob-cli; sudo python3 setup.py install
Run this instead:
git clone https://github.com/trakBan/spongebob-cli.git; cd spongebob-cli; chmod +x spongebob-cli; python3 setup.py install --user
- Check if you have mpv and youtube-dl installed.
- You can also install
youtube-dl
through your package manager ifsetup.py
did not install it correctly
- You can also install
- 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.