📚 FanFic Downloader CLI Guide
Your ultimate companion for downloading and managing fan fiction stories from across the web!
🌟 Introduction
FanFic Downloader CLI is a powerful command-line tool that helps you download, organize, and manage fan fiction stories from various websites. Powered by FanFicFare under the hood, it provides a beautiful, user-friendly interface to interact with your favorite stories.
⚡ Features
- 📥 Easy Downloads: Download stories with a simple command
- 📋 Batch Processing: Handle multiple stories at once
- 🔍 URL Extraction: Extract story URLs from author profiles and series pages
- 📁 Library Management: Keep track of your downloaded stories
- 🎨 Beautiful Interface: Rich text formatting for an enhanced experience
- ⚙️ Customizable Settings: Configure download locations and preferences
📦 Installation
Using pip (Recommended)
pip install fanfic-downloader
From Source
git clone https://github.com/yourusername/fanfic-downloader.git
cd fanfic-downloader
pip install -e .
🚀 Getting Started
After installation, you can start using the fanfic command in your terminal:
fanfic --help
This will display all available commands and options.
📘 Basic Usage
💾 Downloading Stories
Download a story by providing its URL:
fanfic download -u https://archiveofourown.org/works/12345678
Download multiple stories at once:
fanfic download -u https://archiveofourown.org/works/12345678 https://archiveofourown.org/works/87654321
Download stories listed in a text file:
fanfic download -f my_stories.txt
🔎 Interactive Mode
If you don't have URLs ready, you can use the interactive mode:
fanfic download -i
This will prompt you to enter URLs one by one.
🔥 Advanced Features
📋 Extracting Story URLs
Extract story URLs from an author's profile or series page:
fanfic extract -u https://archiveofourown.org/users/authorname/works
Save extracted URLs to a file:
fanfic extract -u https://archiveofourown.org/series/12345 -o extracted_urls.txt
Extract and download in one command:
fanfic extract -u https://archiveofourown.org/users/authorname/works -d
📚 Managing Your Library
List all downloaded stories:
fanfic list
Get detailed information about your stories:
fanfic list -d
Sort stories by size, date, or name:
fanfic list -s size
⚙️ Configuring Settings
View current settings:
fanfic settings
Change the download folder:
fanfic settings -f /path/to/new/folder
Open the download folder:
fanfic settings -o
💡 Use Cases
📱 For Mobile Readers
- Download your favorite stories using FanFic Downloader CLI
- Transfer the EPUB files to your e-reader or mobile device
- Enjoy reading on the go, even without internet access!
🏫 For Series Bingers
- Find a series you love with multiple stories
- Extract all story URLs with a single command:
fanfic extract -u https://archiveofourown.org/series/12345 -d
- All stories will be downloaded automatically for a binge-reading session!
🔍 For Archive Explorers
- Discover a new author with a large collection
- Extract all their stories with:
fanfic extract -u https://archiveofourown.org/users/authorname/works -o author_stories.txt
- Review the list and select favorites
- Download selected stories:
fanfic download -f author_stories.txt
🌙 For Offline Reading
- Before a trip or when you know you'll be without internet:
- Prepare a list of stories you want to read
- Run a batch download:
fanfic download -f vacation_reading.txt
- All stories will be available offline in EPUB format!
🛠️ Tips & Tricks
💻 Command Aliases
Create aliases for commonly used commands:
# On Linux/macOS
alias fanfic-dl="fanfic download -i"
alias fanfic-list="fanfic list -d"
# On Windows (PowerShell)
function FanficDL { fanfic download -i }
function FanficList { fanfic list -d }
📅 Scheduled Downloads
Use cron jobs (Linux/macOS) or Task Scheduler (Windows) to automatically download new chapters from a list of URLs:
# Example cron job (Linux/macOS)
0 9 * * * /usr/local/bin/fanfic download -f ~/ongoing_stories.txt
🔄 Workflow Integration
Combine with other tools for an enhanced workflow:
- Use
greporfindto search through your downloaded stories - Convert EPUBs to other formats using Calibre
- Set up a personal server to access your stories remotely
🚨 Troubleshooting
❓ Common Issues
Issue: Command not found after installation Solution: Ensure your Python scripts directory is in your PATH
Issue: Download fails for certain stories Solution: Check if the story requires login or age verification and use:
fanfic download -u URL -o "is_adult=true"
Issue: Extraction yields no results Solution: Some sites may block automated tools. Try:
fanfic extract -u URL -o "delay_between_pages=3"
🤝 Contributing
Contributions are welcome! If you'd like to help improve FanFic Downloader CLI:
- Fork the repository
- Create a feature branch:
git checkout -b new-feature - Commit your changes:
git commit -am 'Add new feature' - Push to the branch:
git push origin new-feature - Submit a pull request
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- FanFicFare for providing the core downloading functionality
- Typer for the CLI framework
- Rich for the beautiful terminal formatting
Made with ❤️ by Munish Chandra Jha
Happy reading! 📚✨
Metadata
Release files for fanfic-downloader 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fanfic_downloader-0.3.6.tar.gz | 21.1 kB | Without provenance | Details for fanfic_downloader-0.3.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fanfic_downloader-0.3.6-py3-none-any.whl | Python 3 | none | any | Details for fanfic_downloader-0.3.6-py3-none-any.whl |
Total release size: 44.9 kB
Release files / fanfic_downloader-0.3.6.tar.gz
| Download URL | fanfic_downloader-0.3.6.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcec96e3c7380940ec77c0f028d65d5d09e6a7ff33788eee398b53c179ff8d32
|
|
BLAKE2b-256 checksum How to use checksums |
41a3538e99b37f75e97f6848ab09a75b115eb587bdcaea2af285c721b608998f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / fanfic_downloader-0.3.6-py3-none-any.whl
| Download URL | fanfic_downloader-0.3.6-py3-none-any.whl |
|---|---|
| Size | 23.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fea5fcd7c1403a50a6219671ea918cf71d075a20389a9a76f76bbb32ddc5cdb9
|
|
BLAKE2b-256 checksum How to use checksums |
84c22ea6ef0d1936b46cf9c9ae2df63fb8f0ec75a84ba4212b3eb139e6087302
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for fanfic-downloader 0.3.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.