Wednesday, February 14, 2007

MangaSpot manga downloader

MangaSpot is probably the best archive for translated manga. Even thought it is not really big, it does have most of the mangas that you'd probably want. The most annoying thing is that you cant batch-download the mangs. This becomes a problem if the mangas are stretched over hundreds of chapters. So, I made a small script to automatically download manga from MangaSpot. It also overcomes MangaSpot's annoying sid-check (which ensures that you are not using a script to download manga). It requires the prefix assigned to the manga by manga spot and the number of the initial and final chapter (initial so that you can resume from where you stopped, final because, well... ).
For example, for Chobits, if you point your mouse on a chapter, the link looks like this: http://www.mangaspot.com/download.php?series=chobits&file=chobits010. Here, the series code is "chobits". The first and last chapters can be found out from the page itself. For this manga, the script would be run as:

./mangaspot.sh chobits 1 87

In another example, let's consider a series split into volumes instead of chapters. Let's take Ah! My Goddess!. The link for a volume looks something like this: http://www.mangaspot.com/download.php?series=amg&file=amg-v04. For this, the script will be run as:
./mangaspot.sh amg-v 1 22
Get the script here.

No comments: