Skip to content

Converts articles/posts/entries from online sources into an ePub file. Websites are supported by a plugin architecture.

License

Notifications You must be signed in to change notification settings

gauravmm/Web2ePub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web2ePub

Converts articles/posts/entries from online sources into an ePub file. Websites are supported by a plugin architecture.

usage: web2epub.py [-h] [-o OUTPUT] [-s STYLE] [-c COVER] [--no-cover]
                   [--no-cache] [--no-overwrite]
                   url

Converts articles/posts/entries from online sources into an ePub file.

positional arguments:
  url                   A URL to start from. Must end with a forward slash (/)
                        if there is no path.

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --out OUTPUT
                        The directory or filename to write to. epub
                        automatically appended if necessary. The target
                        directory must exist.
  -s STYLE, --style STYLE
                        The output style to use.
  -c COVER, --cover COVER
                        The cover generator to use, if the parser does not
                        find it.
  --no-cover            Do not generate a cover page if one does not already
                        exist.
  --no-cache            Force a cache miss and redownload the source material
                        on this request.
  --no-overwrite        Skip if the destination file exists.

Websites

Currently, plugins are available for:

I am taking requests for other websites, and will generally accept pull requests.

Plugins

You can write new plugins to support additional websites, device-specific output, and cover page styles.

For details on how to write plugins, consult existing plugins in the plugins/ directory and see the templates in plugins.py.

About

Converts articles/posts/entries from online sources into an ePub file. Websites are supported by a plugin architecture.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages