Permalink
Browse files

* anymanga.com: make get script work again

  • Loading branch information...
Minoru committed Jul 23, 2012
1 parent 4df16c0 commit 1d9b04500a5fd1c00aba928fed6e20b80accce0d
Showing with 2 additions and 5 deletions.
  1. +2 −5 anymanga.com/anymangaget
View
@@ -20,10 +20,7 @@ fetchChapter() {
mkdir -p "$chapter"
cd "$chapter"
echo "$pages" | grep img | grep "$title" | sed -r 's#<img src="(.*)" title.*#\1#; s#^#http://anymanga.com#' > urls
wget --continue --input=urls
rm -f urls
echo "$pages" | grep img | grep "$title" | sed -r 's#<img src="(.*)" title.*#\1#; s#^#http://anymanga.com#' | wget -ci-
cd ..
fi
@@ -67,7 +64,7 @@ fetchTitle() {
chapter="`basename $(echo \"$i\")`"
mkdir -p "$volume"
cd "$volume"
fetchChapter "$volume" "$volume" "$chapter"
fetchChapter "$title" "$volume" "$chapter"
cd ..
done

0 comments on commit 1d9b045

Please sign in to comment.