Manga download shell-script

February 5, 2008

Submitted by: Taoufix

Category: Computers, Media & Fun

192 views

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:

$ mkdir slamdunk
$ cd slamdunk
$ getmanga.sh 150 151
If you liked this, please share it at your favorite sites:
  • Digg
  • Reddit
  • del.icio.us
  • Wikio
  • Facebook
  • Google
  • Technorati
  • TwitThis
  • MySpace
  • N4G
  • NewsVine
  • StumbleUpon
  • BlogMemes
  • Blogsvine
  • blogtercimlap
  • description
  • eKudos
  • Faves
  • Fleck
  • Scoopeo
  • Socialogs
  • Upnews
  • Yigg
  • E-mail this story to a friend!
  • Mixx

Leave a Reply

:D :) :cry: :( 8O :twisted: :!: :vangry: :XO: :up: ;) :mrgreen: :halo: :kiss: :roll: :? 8) :evil: :oops: :| :?: :x :$: more »