Go to file
Nemo 923e589413 Fix output-file flag when INPUT FILE is given 2020-03-30 01:17:44 +05:30
spec Switch to option parser 2020-03-29 19:10:50 +05:30
src Fix output-file flag when INPUT FILE is given 2020-03-30 01:17:44 +05:30
.editorconfig Initial commit 2020-03-29 00:59:47 +05:30
.gitignore Improve README 2020-03-30 00:22:59 +05:30
.travis.yml Enable Travis, because why not 2020-03-30 00:24:35 +05:30
LICENSE Initial commit 2020-03-29 00:59:47 +05:30
README.md Improve README 2020-03-30 00:22:59 +05:30
shard.lock Adds stitching and first page strip 2020-03-29 17:51:01 +05:30
shard.yml Initial commit 2020-03-29 00:59:47 +05:30

README.md

muse-dl

Download PDFs from Project MUSE and stitch them together into a single-file using pdftk.

Installation

git clone https://github.com/captn3m0/muse-dl.git
cd muse-dl
shards install
shards build
./bin/muse-dl --help

Requirements

Please ensure you have pdftk installed, and run the muse-dl binary. To build the binary, please run the steps in Installation.

Usage

Usage: muse-dl [--flags] URL
    --no-cleanup                     Don't cleanup temporary files
    --tmp-dir PATH                   Temporary Directory to use
    --output FILE                    Output Filename
    --no-bookmarks                   Don't add bookmarks in the PDF
    --clobber                        Overwrite the output file, if it already exists
    -h, --help                       Show this help

Sample Run

muse-dl https://muse.jhu.edu/book/875
Saved final output to Accommodating Revolutions- Virginia's Northern Neck in an Era of Transformations, 1760-1810.pdf

License

Licensed under the MIT License. See LICENSE file for details.