Just to inform you that I have updated One Manga Downloader script. The changes are:
- Add search functionality using
-soption - Improve temporary files cleanup process
- Improve option validation and error/status messages
Searching for mangas
Have you ever wonder:
- if the manga you want is on onemanga.com or not
- what manga name (in URL) to type in to download it.
The search function now comes to rescue.
Just type the command
$ onemanga -s KEYWORDAnd you'll get all mangas with their name or URL containing "KEYWORD". For example:
$ onemanga -s man searching http://www.onemanga.com/directory... Bakuman (Bakuman) Crazy Maniax (Crazy_Maniax) D.Gray-Man (D.Gray-Man) Deadman Wonderland (Deadman_Wonderland) Devilman (Devilman) Heroman (Heroman) Hot Blooded Woman (Hot_Blooded_Woman) Katekyo Hitman Reborn! (Katekyo_Hitman_Reborn) Kinnikuman (Kinnikuman) Mana (Mana) Manabiya (Manabiya) Manhole (Manhole) Megalomania (Megalomania) Overman King Gainer (Overman_King_Gainer) Reborn! (Katekyo_Hitman_Reborn) Sexy Commando Gaiden Sugoiyo! Masaru-san (Sexy_Commando_Gaiden_Sugoiyo_Masaru-san) Shaman King (Shaman_King) Shaman King - Flowers (Shaman_King_-_Flowers) Super Cruel and Terrible Tales of Mangaka (Super_Cruel_and_Terrible_Tales_of_Mangaka) Train Man (Densha_Otoko) Ultra Maniac (Ultra_Maniac) Wingman (Wingman) Zetman (Zetman) 23 matches.
The name in parentheses is what you have to use to download the manga. Easy, right?
Installation
You can grab the code on GitHub from the link above. Installing the script is as simple as copying and pasting the code into a new file, name it anything you want and don't forget to do a
$ chmod +x filenameAnother convenient way is to let Git do the work for you. If you have Git installed, just go to the directory you want to save the script and issue the command
$ git clone git://github.com/suksit/onemanga.git
Yeah that's the reason I put the script on GitHub anyway :)
Usage
For full usage instruction, please see the Usage wiki page (also updated).

4 comments
I just tried the script but seems like it downloaded only the first page of a chapter.. Did I do something wrong?
P.S. I'm using Mac Snow Leopard
-PoPPaP
I narrowed down the problem to sed command on line 205. There is something wrong with the sed command of OS X as it won't add newline but instead just print \n.
Hi PoPPaP,
Thanks for the bug report :)
Please try replacing the line 205 with this:
That is, replace "\n" with a "\" followed by a REAL newline character.
If it works then I'll commit the change to GitHub.
It works great on the Mac! ขอบคุณครับ ;)
Post new comment