Manga download shell-script

Tired of browsing your favorite Manga download site to get your daily doze?

Here’s a shell-script to help you automatize the process:

#!/bin/bash
if (( $# < 1 )); then
    echo "usage: ${0} NUM [NUM]…"
    exit 1
fi

manga="${PWD##*/}"

for ep in "$@"; do
    URL="http://stoptazmo.com/downloads/get_file.php?file_category=${manga}&mirror=1&file_name=${manga}_${ep}.zip"
    wget -c -U Links "${URL}"
done

To use it, create a directory named with the exact name from the web site:

GeSHi Error: GeSHi could not find the language shell (using path /home/agafix/agafix//wp-content/plugins/codesnippet/lib/geshi/) (code 2)