Clicky

One Manga Downloader Now Supports Series Hosted on 1000manga.com | suksit dot com

One Manga Downloader Now Supports Series Hosted on 1000manga.com

As you may have noticed recently, onemanga.com has removed some of their series from the site e.g. Vagabond and Zetman due to license issue. They did it by removing all links from the manga page.

However, today I just found that instead of just removing the links from the manga page, they now provides a link to their sister site (say 1000manga.com) which is still hosting the manga I mentioned above.

Luckily, the code on 1000manga.com is almost the same as onemanga.com so I tweaked the script to automatically download the file from 1000manga.com if it has to do so.

So here's the updated One Manga Downloader. Enjoy reading your favorite mangas!

P.S. Many thanks to the One Manga team for providing and maintaining all those high quality scans :)

31 comments

PoPPaP's picture
PoPPaP (visitor) says:

Thank You!

Yumi Nanako's picture
Yumi Nanako (visitor) says:

Thankies for the release. ^^" Been missing for sometime now to sort out some stuff with life.

Back now and just recently merged back your latest changes, while making some changes, including fixing the additional archive files options and fixing the colours issue for OMWEB, and releasing OMWEB (http://github.com/yumileroy/omweb) an

Now working on a markdown version of a README (http://github.com/yumileroy/onemanga/blob/master/README.md)

Might write a Makefile for installing onemanga soon.

Tuang Dheandhanoo's picture
Tuang Dheandhanoo (visitor) says:

thanks so much krub, :D

ArtKung©'s picture
ArtKung© (visitor) says:

จะกลับเมื่อไหร่ละท่าน

kong's picture
kong says:

ต้นเดือนหน้าอะ =.=

Yumi Nanako - 由美菜々子's picture

Busy these days with work, life and hospital. Just spend my time alternating between work and hospital now.

Anyways, just for fun, I made a branch for a cURL version of onemanga (http://github.com/yumileroy/onemanga/tree/curlonemanga)

Just added some changes for a custom log filename, can't think of anything much to add.. ._.

thinks in deep thought

kong's picture
kong says:

Hi Yumi,

Sorry to hear that. Hope you're getting well soon.

So now we have another option for those semi-geek manga readers hehe xD

BTW, very nice instructions you got there! (/me always bad with documentation stuffs :P)

Take care,

Yumi Nanako - 由美菜々子's picture

Haha,

I'm still thinking about what to do with the OMWEB. It's been in development hell for quite sometime because I'm out of ideas..

Just hoping for someone to fork it and clean it up and hopefully add some features.. (My PHP is ugly and messy)

Still thinking about feature-wise for onemanga though..

Yumi Nanako - 由美菜々子's picture

Added prerequisites check option to onemanga. :x

Got too bored... Well, somewhat.

Yumi Nanako - 由美菜々子's picture

xD just wrote a Makefile out of boredom and for fun...

Leroy's going to kill me if he knows of what I did to the script. He always tells me not to over-design a script/program/whatever. :x

Just curious, what license is onemanga licensed under?

Apache, BSD, CDDL, MIT, WTFPL seem like nice choices to license it under. :x

kong's picture
kong says:

Hmm... never thought 'bout that before =.=

I guess GPLv2 or 3 should be fine, need to read the differences in detail though >_<

Yumi Nanako - 由美菜々子's picture

Added options to create .tar.gz and .tar.bz2 archives, I'm keeping away from over-proprietary formats like .ace.

xD I'm having fun somewhat. Now thinking of adding option to create .pdf file from the .jpg and some additional archive formats like .lzh and .cab etc.

.lzh is still used widely in Japan ^^ .cab, well... Maybe something I would do for fun.

My coding partner (pair programmer) Leroy is seriously going to kill me if he finds out what I've done to the script... :x

kong's picture
kong says:

lol, maybe one day you'll wake up and find out that he forked your script just to remove those options :P

have fun, it's your code anyway so go as far as you want xD

Yumi Nanako - 由美菜々子's picture

xD I have a feeling my coding partner would do that.

He always tells me not to over-design / over-feature something in case I run out of ideas what to add in the future. ._.

I tried to make it more user-friendly by adding a -h option for help message display. I'm now thinking how to check for no arguments in $1, blank $1.

( Don't mind the over-usage of echo -e :x )

Tried the usual [[ ${1} == "" ]] and [[ ! -n ${1} ]], but even with other args specified, the help message still triggers.

Just curious, why ya change from curl to wget in the first place? o.o? Simplicity? or Performance?

kong's picture
kong says:

Well Leroy does have a good point on that :)

However, for me, the script is what I use everyday -- it's like I wrote it for myself and just share the code so it's kinda developer-centric and the options there are what I really use myself.

On the other hand, I think your version of onemanga script is more user-centric (nice help documents, install script, etc.) and more options means the users have more choices to use the script the way they want.

Anyway, normally I'd use $# to check for number of arguments, something like

if [[ $# -eq 0 ]]; then
  # add the code when there is no argument
fi

And I really don't remember why I switched to wget in the first place but if you ask me now I'd just say it is for simplicity because some Linux distro such as Debian doesn't have cURL installed by default.

Yumi Nanako - 由美菜々子's picture

Thanks for this tiny useful piece of bash snippet. (>'.'<)

Leroy's going to kill me since I've turned like 282 lines of bash into 435, but still I better keep my changes compatible with your source base else he would surely kill me. (He doesn't like dealing with tons of merge conflicts.) :x

He most probably is going to stone me if he comes back from his trip. ._.

But still Leroy was thinking of something, from what I remember, I think he was intending to port this to Python/C/C++ (xD, he'll rather be killed than to even touch Perl).

And he was thinking of also making a GUI downloader based on this script, something like a desktop application utilising the shell script like a GUI wrapper around the shell script.

Leroy previously had been drafting and sketching out tons of GUI designs and asking me for opinions... lol..

Mono .NET applications / RealBasic applications / PyGTK / PyQt / C++ with GTK / C++ with Qt / Java

I was thinking of going into some sort of a feature-set lockdown for now to iron out any unforeseen bugs of some sort if any. xD

Just thinking of what to do now, what to work on. Maybe I'll start work on a GUI downloader too. xD

kong's picture
kong says:

Just came back from Italy! :D

Yep I'm totally support the idea of writing the downloader in high-level languages.

Anyway what first came up in my mind is it shouldn't be a "port" of one manga downloader because with these languages (Python, Ruby, .NET, etc.), you have many useful libraries to make your life easier. For example, a simple xHTML parser could get the image URL for you in 1 line of code instead of a chain of grep, awk, and sed >_<

Actually I have tried something like this with Python and it worked out kinda well (I used Python3 + lxml), the only problem was I had to manually compile lxml for Python3 and I don't think any "regular" users will want to do that -_-a

**Just to give you an idea** I wanted to create a main downloader program and then later introduce the "module" (or class) to handle specific manga hosting sites e.g. onemanga module, mangafox module, and so on. This way we can extend the capability of the program easily and the code should be easier to maintain than putting everything in one script.

Looking forward to see the GUI too! :)

ArtKung©'s picture
ArtKung© (visitor) says:

อย่าลืมเบียร์ไส้กรอกและขาหมูของข้าพเจ้านะ

bombik's picture
bombik (visitor) says:

อย่าลืมเราด้วยนะ

Anonymous's picture
Anonymous (visitor) says:

How do I run this script in Windows?

Will the GUI version be updated to use this script?

Thanks so much-

kong's picture
kong says:

Hello,

You'll need to install Cygwin (Linux-like environment for Windows) with at least following packages:

  • ncurses
  • wget
  • bc
  • zip
  • mintty (not required, but recommended)

See installation instruction for more details.

Guess I have to write another wiki page about this on Github too :P

karn's picture
karn (visitor) says:

ไม่รู้ว่าแก้ยังอ่ะนะ ที่เจอคือพอใช้กับ "*" แล้ว redirect ไปที่ 1000manga พอเช็คโฟลเดอร์ถัดไปมันเช็คกับ 1000manga แทน onemanga อ่ะ

kong's picture
kong says:

โง้ววว บั๊ก

Yakuzaku's picture
Yakuzaku (visitor) says:

Guys Im new to this stuff and wanted to download manga from onemanga.com but I just dont know how to use it , I tryed reading the usage wiki but I'm still confused on how to make it work

Yakuzaku's picture
Yakuzaku (visitor) says:

btw the tar thing is being opened by winrar

kong's picture
kong says:

I just updated the wiki page on GitHub. It includes installation, usage, and archive reading instructions. Hope it helps :)

One Manga Downloader installation and usage instructions

Lance's picture
Lance (visitor) says:

Hi kong,

It's been a while :) I'm just alarmed that OM has to remove their scanlations this week. So I pulled the tip of the OM script on guthub and tried to download Naruto the usual way but then it won't work.

it just says:

Opening http://www.onemanga.com/Naruto...

And then caret just returns to input mode.

Any ideas? Thanks! Hope to save those manga before they disappear :(

kong's picture
kong says:

Hi Lance,

Sorry for late reply, I just came back from vacation. Anyway, it seems you've installed the pre-requisite packages and solved the problem :)

Too bad One Manga is closing down :(

Nikolius's picture
Nikolius (visitor) says:

is it possible to modif the code so that it can work for www.mangastream.com

just try install and have no idea that onemanga already closing down. :(

918273's picture
918273 (visitor) says:

If you modify the script, I think www.ourmanga.com is also an alternative since mangastream uses watermarks to protect the images. They are not as fast as mangastream, but a delay of one day is ok in my eyes.

I would love to use your script that works much better then all the others I've tried till now.

kong's picture
kong says:

@Nikolius, @918273: Thanks for the tips :) I'll look into it ASAP.