MakeYourLifeEasier / Wuxiaworld-2-eBook

This Python script will download chapters from novels availaible on wuxiaworld.com saves then into the .epub format
MIT License
93 stars 38 forks source link

Add CLI #43

Open NightMachinery opened 5 years ago

NightMachinery commented 5 years ago

A CLI is so much easier to use. Sth like: Ww.py list-novels Ww.py download Ww.py list-chapters Ww.py download-full

It’s pretty easy to implement using https://github.com/docopt/docopt.

NightMachinery commented 5 years ago

And as Wuxiaworld is possibly transitioning to discontinue giving its completed books for free, this CLI will come in handy for quickly getting a lot of novels before the clock runs out.

MichaelGuardian commented 5 years ago

I'd argue that argparse is more then enought to extend this application.

That being said I have no interest in working on new functionality atm. If somebody wants to work on it, I'd merge the changes to the master branch.

MichaelGuardian commented 5 years ago

I also should mention that this tool was never designed for batch downloads. I think "list-chapters" as well as "download-full" would need quite a bit of code to get it to work. Apart from that this tool is also too slow and doesnt support all novels.