This project use PyQuery to parse text, and PhantomJS for some websites which need to load JavaScript. It use Sqlite to store data, default in ~/.cache/novel/cache.db, and SQLAlchemy for ORM.
Some constants, like proxy, encoding, headers, etc., and some functions with cache files.
Functions that works with database.
ORM models.
Some helper functions, and class to clean up the text.
Decorator to automatically retry when meeting HTTPError or broken response.
Basic class, must be covered.
Classes to download novel in many pages.
Classes to download novel in one page.
Integrated. Use introspection to get the right class to use.
Main class for command line.
The command line entry, and the argument parser.