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!
Dependecies (all Python dependecies will automatically be installed):
- mpv player https://mpv.io/ (Must be installed through a package manager)
- youtube-dl https://github.com/ytdl-org (Python dependency)
How to install:
To download with and install with Git:
For UNIX based OS - One Line Execution
#Sudo isn't required as long as you're not in Root
git clone https://github.com/trakBan/spongebob-cli.git
cd spongebob-cli
sudo chmod +x spongebob-cli
sudo python setup.py install
One line:
git clone https://github.com/trakBan/spongebob-cli.git; cd spongebob-cli; sudo chmod +x spongebob-cli; sudo python setup.py install
To install manually - UNIX OS
# Assuming you already have the Master downloaded
cd spongebob-cli
sudo chmod +x spongebob-cli; sudo python setup.py install
One line:
cd spongebob-cli; sudo 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
This is not keept up to date regulary. There is an AUR package for spongebob-cli mantained by getchoo
yay -S spongebob-cli-git
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; sudo chmod +x spongebob-cli; sudo python3 setup.py install
- Use python3 instead of python
-
-
Gentoo users will have to add --user at the end of that line of code
-
If the video won't play check if you have mpv and youtube-dl installed.
-
If you don't have youtube-dl but a fork of it, make a alias in your .zshrc or .bashrc and alias it to youtube-dl