Coder Social home page Coder Social logo

litepubify's Introduction

litepubify

litepubify is a program to download stories from literotica.com and convert them to the .epub format for e-book reader use, etc. It can fetch a single story or an entire series.

litepubify is a command line program, written in python (no external dependencies, python version 2.6, 2.7 or >=3)

Sample usage:

$ python litepubify.py 'http://www.literotica.com/s/my-favorite-story'

All options:

usage: litepubify.py [-h] [-a AUTHOR] [-t TITLE] [-o FILENAME] [-s]
                     [--noteaser] [--noimages] [-v] [-d] [--silent]
                     [--disk-cache-path PATH]
                     url [url ...]

positional arguments:
  url                   URL of the story, or one of the stories in the series

optional arguments:
  -h, --help            show this help message and exit
  -a AUTHOR, --author AUTHOR
                        override the author in the epub metadata
  -t TITLE, --title TITLE
                        override the title in the epub metadata and default
                        file name
  -o FILENAME, --output FILENAME
                        set output file name (optional, otherwise story title
                        is used)
  -s, --single          do not attempt to download the entire series (if it is
                        a series) but just this one story
  --noteaser            do not include the one line teaser in the table of
                        contents
  -v, --verbose         output more information
  -d, --debug           output debug information
  --silent              suppress informational output
  --disk-cache-path PATH
                        Path for the disk cache (this is normally not needed).
                        If this option is specified, downloaded websites are
                        cached in a file and loaded in subsequent runs (when
                        this option is used again with the same path). This is
                        mainly useful for testing, to avoid repeated
                        downloads.

Written by hoelty, license: CC0.

litepubify's People

Contributors

hoelty avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.