Skip to main content

ComicFury Scraper

A powerful command-line tool to scrape and download comics from ComicFury.com, creating neatly organized CBZ files for offline reading.

Features

  • Scrape comic chapters and pages from ComicFury.com
  • Multi-threaded downloading for improved performance
  • Automatic CBZ file creation with proper ordering
  • Simple command-line interface with multiple options
  • Support for both URL and comic ID input methods
  • Configurable output directories
  • Use existing JSON files for faster downloads without re-scraping

Installation

Prerequisites

  • Python 3.9 or higher
  • Internet connection

Dependencies

  • requests
  • beautifulsoup4
  • argparse
  • concurrent.futures (standard library)

Installing

  1. Clone this repository:
git clone https://github.com/enzomtpYT/ComicFury-AutoCBZ.git
cd ComicFury-AutoCBZ
  1. Run directly with uv:
uv run comicfuryscraper -h

Or install the dependencies with uv sync.

Method 2: From python source (pip)

  1. Clone this repository:
git clone https://github.com/enzomtpYT/ComicFury-AutoCBZ.git
cd ComicFury-AutoCBZ
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Run the CLI:
python src/cli.py -h

Method 3: From github releases

  1. Download the executable at the release page

  2. To use, execute in terminal:

comicfuryscraper.exe -h

Method 4: From pip install

  1. Install pip package:
pip install comicfuryscraper
  1. To use, execute in terminal:
comicfuryscraper -h

Usage

Basic Usage

Get the comic ID from the profile page

URL Bar

Then execute (depending on how you installed it):

python cli.py -i COMIC_ID -d

OR

comicfuryscraper.exe -i COMIC_ID -d

OR

comicfuryscraper -i COMIC_ID -d

Command Line Arguments

Argument Description
-u, --url URL of the webpage to scrape
-i, --id ID of the comic to scrape (alternative to URL)
-t, --max-threads Maximum number of threads to use (default: 4)
-d, --download Download the comic and create CBZ files
-o, --output Output directory for downloaded files
-v, --verbose Enable verbose output
-j, --json Path to a JSON file with chapter data (skips scraping)

Examples

  1. Scrape comic information without downloading:
python cli.py -i yourcomicid

This will generate a yourcomicid-chapters.json file with all chapters and pages information.

  1. Download a comic using its ID and save to a specific folder:
python cli.py -i yourcomicid -d -o "My Comics/ComicName"
  1. Download a comic using its URL with verbose output:
python cli.py -u "https://comicfury.com/comicprofile.php?url=yourcomicid" -d -v
  1. Increase download speed by using more threads:
python cli.py -i yourcomicid -d -t 8
  1. Use a previously generated JSON file to download without scraping:
python cli.py -j yourcomicid-chapters.json -d
  1. Download a comic using an existing JSON file and save to a specific directory:
python cli.py -j yourcomicid-chapters.json -d -o "My Comics/ComicName"

How It Works

  1. The scraper first checks if a JSON file with chapter data exists
    • If specified with -j flag, it uses that file
    • Otherwise, it looks for a default file named [comic-id]-chapters.json
  2. If no JSON file is found, it scrapes all chapters from the comic's archive page
  3. For each chapter, it finds all pages and their image URLs
  4. When downloading, it creates a temporary directory for each chapter
  5. Images are downloaded with proper ordering (001.jpg, 002.jpg, etc.)
  6. A CBZ file is created for each chapter with numbered prefixes for proper ordering
  7. Temporary directories are cleaned up automatically

Output

Downloaded comics are saved as CBZ files in the specified output directory (or a directory named after the comic ID by default). Files are named with numerical prefixes to ensure proper ordering, for example:

01_Chapter_Name.cbz
02_Another_Chapter.cbz
etc...

Limitations

  • Only works on Comic With Infinite Scroll if comic has infinite scroll disabled, please use ComicFury-Scrape

Infinite Scroll Example

License

MIT License

Contributing

Contributions, issues, and feature requests are welcome!

Development Setup

  1. Install dependencies and dev tools using uv:
uv sync
  1. Verify code quality and types before submitting a pull request:
# Run linting and code style checks
uv run ruff check .

# Run static type checking
uv run ty check .

# Check for unused code or dead imports
uv run vulture

# Run automated tests
uv run pytest

Metadata

Release files for comicfuryscraper 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comicfuryscraper 1.1.0
File Size Uploaded Provenance Actions
comicfuryscraper-1.1.0.tar.gz 11.1 kB Without provenance Details for comicfuryscraper-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for comicfuryscraper 1.1.0
File Interpreter ABI Platform Actions
comicfuryscraper-1.1.0-py3-none-any.whl Python 3 none any Details for comicfuryscraper-1.1.0-py3-none-any.whl

Total release size: 22.1 kB

Release files / comicfuryscraper-1.1.0.tar.gz

Download URL comicfuryscraper-1.1.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bd199491bf2336139c6ab488296b413fe9705673ea20512c6f55dce6a4c0c550
BLAKE2b-256 checksum
How to use checksums
73dd9dc813b5826ca7f028a363ae42339209bdd4f33e98f4520a15f1b5fbbbe3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / comicfuryscraper-1.1.0-py3-none-any.whl

Download URL comicfuryscraper-1.1.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15b2b80cdae6b7d0ae45b38f1f87a2bd8219fa49cdf5bb31a47a30355273f72f
BLAKE2b-256 checksum
How to use checksums
0f0beace0c3b746b6dc5253cbc8e66b5f15e30c41e710d865ec3ac839da75e22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for comicfuryscraper 1.1.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page