Permalink
Browse files

+ mangarush.com fetcher

  • Loading branch information...
l29ah committed Apr 11, 2011
1 parent 54352c4 commit 9bfb96f6608c39afbd2b46cf57a83b650309fc0d
Showing with 8 additions and 0 deletions.
  1. +8 −0 mangarush.com/mangarush
View
@@ -0,0 +1,8 @@
#!/bin/sh
for c in `seq 19 $(curl -s "http://www.mangarush.com/manga/$1" | sed -ne '/Ch\./{s/.*Ch\. \([0-9]*\).*/\1/p;q}')`; do
mkdir $c
for p in `seq 1 $(curl -s "http://www.mangarush.com/manga/$1/$c" | sed -ne '/Pages/{N;s/.*<td class="mangadetail">\([0-9]*\).*/\1/p}')`; do
echo $c $p
wget "http://www.mangarush.com/files/mangas/$1/$c/$p.jpg" -O "$c/$p.jpg"
done
done

0 comments on commit 9bfb96f

Please sign in to comment.