Batch download using wget seems to be not working anymore, a lots of web site used to protect the particular directory from being browse. But if you know the filename of the files, you still can do a batch download by writing a custom bash script.
Recently I discover a site which allows you to read manga online. The problem is that I have to browse it page by page by clicking next link and the load is extremely slow. I really can’t enjoy reading it, where a page need almost 5 to 10 seconds to completely loaded.
So I decided to download it all at once and read later. I discover that all the images is actually in a particular folder with the folder name as volume of the manga, each manga page is actually an jpg image with name 1.jpg – 96.jpg.
I fire up my vim editor and wrote this down, this allow me to download entire volume at once.
#!/bin/bash for (( a=1; a<=96; a++ )) do wget -c http://www.manga.com/images/qtvim/Vol_01/$a.jpg done
I like for loop in c style, bare in mind the first line is important, you have to define as bash instead of sh.
#!/bin/sh will actually fails.
[tags]download, manga, download tips, hack[/tags]