Skip to content

Easyoakland/royalroad-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Royal Road fiction downloader

CLI tool for downloading fictions from Royal Road incrementally and periodically. Should be able to run the CLI with --incremental in a scheduled job to keep the downloaded copy up-to-date.

Goals

  • Incremental downloads work even if fiction changes metadata (fiction title, chapter title, etc.).
  • Download new chapters while preserving old chapters even when old chapters are publicly removed (STUB).

Usage

Incremental periodic downloader for RoyalRoad.

Usage: royalroad-dl.exe [-p=PATH] [-t=MS] [-c=NUM] [-i] URL

Available positional items:
    URL                    The main page (e.g. table of contents) of the content to download.

Available options:
    -p, --path=PATH        Custom output path.
    -t, --time-limit=MS    Minimum ms per request. Can't be zero.
                           [default: 1500]
    -c, --connections=NUM  Concurrent connections limit. Zero indicates no limit.
                           [default: 4]
    -i, --incremental      Incremental download. Auto-detect previously downloaded and only download
                           new.
    -h, --help             Prints help information
    -V, --version          Prints version information

Installing

Download the correct release for your platform from releases

Building from source

Issues

If Royal Road changes its website layout this downloader may stop working. If this occurs please file an issue.