Giter Club home page Giter Club logo

literotica-downloader's Introduction

Literotica-downloader

Shell script that reads a file with URLs of single literotica stories and stores them as PDFs locally. Authors are often known to delete their stories, it is best to have a local copy.

Dependencies

  • wkhtmltopdf
  • perl-exiftool
  • pdf-poppler-utils
  • recode
  • GNU coreutils (cut, rev, grep, curl, xargs, ...)

Usage

/path/to/literotica.sh /path/to/url/file /path/to/download/directory [number of stories to download concurrently (default=1)]

urlfile should be literotica links separated by newline :

https://www.literotica.com/s/...
https://www.literotica.com/s/...
https://www.literotica.com/s/...
...

Capabilities

  • Stores stories as pdf.
  • Works for illustrated stories.
  • Has an inbuilt adblocker. Removes ads and cam links, keeping just the story and related details.
  • If a story is multipaged, link to the first page only, in that case all pages will be downloaded into one file.
  • Can be used in conjunction with tor to anonymize.
  • Is POSIX compliant (tested with dash).
  • Includes all comments from the story at the end of the pdf.

Disadvantages

  • This script will not sort stories by category, it will just dump them into one folder.
  • This script does not have a help menu or a man page.
  • This script will not throttle based on CPU power or internet connection, the concurrency argument is to be provided manually.
  • This script does not store in any other format, only PDF.
  • This script has no inbuilt way to stop the comments from being attached at the end.
  • This script does not work for multi-chaptered stories.
  • This script does not preserve files with the same name. If two stories have the same title, first one is overwritten.
  • This script does not include the author's biography in the file.
  • This script does not include options to change font size or theme. Original font size and themes are used.
  • This script is not posix compliant.

literotica-downloader's People

Contributors

literotica-downloader avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zbejqmffb

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.