Skip to content
View Literotica-Downloader's full-sized avatar
Block or Report

Block or report Literotica-Downloader

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

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.

Popular repositories

  1. Literotica-downloader Literotica-downloader Public

    Allows you to download literotica stories from a file and save them locally as pdfs.

    JavaScript 13 2