anyflip-downloader

command module
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

README

anyflip-downloader

build goreleaser

Download anyflip books as PDF

Demo

Disclaimer

Only use this tool to download books that officially allow PDFs to be downloaded.

Installation

You can install this tool in multiple ways. Using the installation script or the go install command.

The install scripts are the suggested installation method for most users.

Install scripts
Linux/MacOS

Open the terminal and execute

curl -L https://raw.githubusercontent.com/Lofter1/anyflip-downloader/main/scripts/install.sh | /usr/bin/env bash
Setup path

When encountering the error "Command not found": make sure your path variable contains $HOME/.local/bin (edit this in your .zshrc or .bashrc depending on your editor)

Windows

Open PowerShell and execute

. { iwr -useb https://raw.githubusercontent.com/Lofter1/anyflip-downloader/main/scripts/install.ps1 } | iex;
Go install

For go install, the go tools are required.

go install github.com/Lofter1/anyflip-downloader@latest

Usage

anyflip-downloader <url to book>
Set title manually

If you do not want to use the book title from anyflip, you can change it using the -title flag.

anyflip-downloader -title <your book title> <url to book>
Specify temporary download folder path

The default temporary download folder path will be the title of the book. However, in certain situations, you might want to change the temporary download folder. For this, the -temp-download-folder flag exists. This folder will be deleted after a successful download.

anyflip-downloader -temp-download-folder <temp folder name> <url to book>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL