Thank you to ShaqeelAhmad for patch to fix slow:turtle: speed by caching it instead of using curl everytime. Python version for the script is now available.
A simple shell script (bash) to check weekly most popular anime sorted by views. The script scrape from hi10anime
Clone the repo
git clone https://github.com/luqmannn/ani-list.git
Put the script on one of the PATH environment variable. In this case /usr/local/bin
sudo cp anlist /usr/local/bin
To print current PATH environment variable.
echo $PATH | tr : \\n
Don't forget to make the script executable.
sudo chmod +x /usr/local/bin/ani-list
For some reason, there is a difference in numbers of anime from the list between bash and python version. Bash returns 1906 and python 1908.