Cartoon always identic with comic, some of my friends and me usualy read our favorite comic in
http://www.onemanga.com, unfortunately this website only allow us read one by one, there no option to download full one chapter, but URL (Uniform Resource Locater) used by this website to display comic page is stuctured and can understand easily. The bottom is simple script which I used to download Detective Conan comic first chapter.
counter=0
while [ $counter -lt 100 ]
do
location="http://media.onemanga.com/mangas/00000130/00000001/"
if [ $counter -lt 10 ]; then
nomor="0"$counter".jpg"
else
nomor=$counter".jpg"
fi
wget $location$nomor
counter=$(( $counter + 1))
done
Assumption:
- The number page of this chapter is less than 100
- The extension image used is *.jpg
No comments:
Post a Comment