yaffs

2.1.0 • Public • Published

(YAFFS) Yet Another FanFiction Scraper

A full fanfiction story downloader Currently supports:

  • Literotica.com

Currently working to support:

  • Fanfiction.net
  • Archiveofourown.com

Installation

Use the package manager npm to install yaffs.

npm install yaffs --global

Usage

CLI

yaffs <url> [Options] 
    [--debug, -d] Render Debug Information 
    [--diableProgress] Disabled The Progress Bar
    [--output, -o] Output Directory/File
    [--format, -f] Output format (epub only currently)
    [--help, -h] This prompt

Node.JS

const yaffs = require("yaffs").scraper;
 
yaffs({
    url: <url>,
    format: 'epub', //[optional]
    output: <directory | file> //[optional]
}).then(function(result){
    console.log(result); //returns ebook's filepath
}).catch(function(error){
    console.error(error);
});

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Donate

If you'd like to donate and allow me to make more features, you can do so here

paypal

Package Sidebar

Install

npm i yaffs

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

79.2 kB

Total Files

13

Last publish

Collaborators

  • ghosstdev