Project

lknovel

0.0
No commit activity in last 3 years
No release in over 3 years
Generate epub from http://lknovel.lightnovel.cn/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Lknovel

Build Status Coverage Status Dependency Status Gem Version

Generate epub from http://www.linovel.com/

Installation

Install using gem:

$ gem install lknovel

Or add this line to your application's Gemfile:

gem 'lknovel'

And then execute:

$ bundle

Dependencies

Rubygems will solve them for you.

If you encounter compiling/installing problem about nokogiri, install it manually using the package manager.

For Debian/Ubuntu:

# apt-get install ruby-nokogiri

Usage

$ lknovel -h
Usage: lknovel [options] URL ...

URL can be:
    http://www.linovel.com/n/vollist/?.html
    http://www.linovel.com/n/book/?.html

Specific options:
    -k, --[no-]keep                  Keep temporary files
    -t, --chapter-theads THREADS     Chapter download threads(4)
    -T, --image-theads THREADS       Image download threads(5)
    -q, --[no-]quiet                 Run quietly

Common options:
    -h, --help                       Show this message
    -V, --version                    Show version

$ lknovel http://www.linovel.com/n/book/2123.html
Chapters: 5/5 第3章 魔王和勇者,在笹塚相会。
Images: 13/13 20120817193746_95414.jpg
Finish: 打工吧!魔王大人 - 第01卷 第1卷.epub

Contributing

  1. Fork it ( https://github.com/azuwis/ruby-lknovel/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request