A CLI tool for the fichub.net API
Project description
fichub-cli
A CLI tool for the fichub.net API
To report issues upstream for the supported sites, visit https://fichub.net/#contact
To report issues for the CLI, open an issue at https://github.com/FicHub/fichub-cli/issues
Installation
Install the package using pip
pip install -U fichub-cli
Usage
> fichub_cli
Usage: fichub_cli [OPTIONS]
A CLI for the fichub.net API
To report issues upstream for supported sites, visit
https://fichub.net/#contact
To report issues for the CLI, open an issue at
https://github.com/FicHub/fichub-cli/issues
Options:
-u, --url TEXT The url of the fanfiction enclosed within quotes
-i, --infile TEXT Give a filename to read URLs from
-l, --list_url TEXT Enter a comma separated list of urls to download, enclosed within quotes
-o, --out_dir TEXT Output directory for files (default: Current Directory)
-f, --format TEXT Download Format: epub (default), mobi, pdf or html
-s, --supported_sites List of supported sites
-d, --debug Debug mode
-v, --version Display version & quit.
--help Show this message and exit.
Example
- To download using a URL
fichub_cli -u https://archiveofourown.org/works/10916730/chapters/24276864
- To download using a file containing URLs
fichub_cli -i urls.txt
- To download using a comma separated list of URLs
fichub_cli -l "https://www.fanfiction.net/s/11191235/1/Harry-Potter-and-the-Prince-of-Slytherin,https://www.fanfiction.net/s/13720575/1/A-Cadmean-Victory-Remastered"
Default Configuration
- The fanfiction will be downloaded in epub format. To change it, use
-f
followed by the format. - The fanfiction will be downloaded in the current directory. To change it, use
-o
followed by the path to the directory.
Check fichub_cli --help
for more info.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fichub-cli-0.2.5.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for fichub_cli-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c613de3680287a04eb7627fc065e559750cad3732b1849b5999bc865dbb6ac0f |
|
MD5 | f3c3c8d461529457daec4a5efaaa0286 |
|
BLAKE2b-256 | 0193eaf34bf81157fb28212842519fe71d73a2940d1674e344b83c386d191a9d |