Skip to main content

No project description provided

Project description

WCDL - Weeb Central Manga Downloader

A powerful command-line interface for searching and downloading manga from WeebCentral. Built with Python, it provides fast multi-threaded downloads, intelligent chapter selection, and CBZ file creation.

โœจ Features

  • ๐Ÿ” Advanced Search - Search for manga by title with detailed result filtering
  • ๐Ÿ“ฅ Fast Downloads - Multi-threaded concurrent downloads (configurable up to 8+ connections)
  • ๐Ÿ“– Smart Chapter Selection - Download specific chapters using flexible range syntax
    • Single chapters: wcdl download "Manga" --range 5
    • Ranges: wcdl download "Manga" --range 1-10
    • Multiple chapters: wcdl download "Manga" --range 1,3,5-7
  • ๐Ÿ“ฆ CBZ Creation - Automatically create Comic Book Archive files from downloaded chapters
  • โœ… Duplicate Detection - Skips already downloaded chapters automatically
  • ๐ŸŽจ Beautiful Terminal UI - Rich formatted tables and progress bars
  • ๐Ÿ”„ Retry Logic - Automatic retry with exponential backoff for failed requests
  • โšก Resume Support - Continue interrupted downloads without re-downloading existing files

๐Ÿš€ Installation

From PyPI (Once Published)

pip install wcdl

From Source

Clone the repository

git clone https://github.com/yourusername/wcdl.git cd wcdl

Install with Poetry

poetry install

Or install in development mode

poetry install --with dev

Requirements

  • Python 3.8+
  • Dependencies automatically installed via Poetry:
    • click - Command-line interface creation
    • rich - Beautiful terminal output
    • requests - HTTP requests with retry logic
    • beautifulsoup4 - HTML parsing

๐Ÿ“– Usage

Quick Start

Search for manga

wcdl search "Jujutsu Kaisen"

Download specific chapters

wcdl download "Jujutsu Kaisen" --range 1-5

Download with CBZ files

wcdl download "Jujutsu Kaisen" --range 1-50 --cbz

Commands

wcdl search <QUERY>

Search for manga and display detailed information.

wcdl search "Attack on Titan"

What it does:

  1. Searches WeebCentral for matching manga
  2. Displays a formatted table of results
  3. Lets you select a manga by ID
  4. Shows detailed information:
    • Title, authors, and tags
    • Publication status and year
    • Total chapters available
    • Latest chapter release date
    • Number of chapters already downloaded (if any)

wcdl download <QUERY> [OPTIONS]

Search for manga and download specific chapters.

wcdl download "One Piece" --range 1-100 --cbz --connections 16

Options:

Option Short Type Default Description
--range -r TEXT None Chapters to download (e.g., 1-5, 1,3,5, 2)
--cbz FLAG False Create CBZ files from chapters
--keep-files FLAG False Keep image files after CBZ creation
--connections -c INT 8 Number of simultaneous downloads

Range Syntax:

  • 5 - Download chapter 5 only
  • 1-10 - Download chapters 1 through 10 (inclusive)
  • 1,3,5 - Download chapters 1, 3, and 5
  • 1-5,10-15 - Download chapters 1-5 and 10-15
  • 1,2-5,8 - Mix single and range selections

Examples:

Download first 20 chapters as individual image folders

wcdl download "Solo Leveling" -r 1-20

Download chapters and create CBZ files with 4 parallel connections

wcdl download "Jujutsu Kaisen" -r 1-50 --cbz -c 4

Download and create CBZ files, keep original images

wcdl download "Bleach" -r 1-366 --cbz --keep-files

Interactive mode (no range specified - choose during execution)

wcdl download "Death Note"

๐Ÿ“ Directory Structure

After downloading, manga is organized as follows:

Manga_Title/
โ”œโ”€โ”€ Chapter_1/
โ”‚ โ”œโ”€โ”€ image_1.jpg
โ”‚ โ”œโ”€โ”€ image_2.jpg
โ”‚ โ””โ”€โ”€ ...
โ”œโ”€โ”€ Chapter_2/
โ”‚ โ”œโ”€โ”€ image_1.jpg
โ”‚ โ”œโ”€โ”€ image_2.jpg
โ”‚ โ””โ”€โ”€ ...
โ”œโ”€โ”€ Chapter_1.cbz (if --cbz flag used)
โ”œโ”€โ”€ Chapter_2.cbz (if --cbz flag used)
โ””โ”€โ”€ ...

With --cbz --keep-files: Both image directories and CBZ files are preserved With --cbz (without --keep-files): Only CBZ files remain, image directories are deleted # Poetry configuration \

๐Ÿ”„ Download Behavior

Smart Download Management

  • Duplicate Detection: If a chapter is already downloaded, it's automatically skipped
  • File Persistence: Image files are checked before downloading; existing files are preserved
  • Progress Tracking: Real-time progress bar shows download status
  • Error Handling: Failed downloads don't stop the entire operation

Thread Configuration

The --connections parameter controls download speed:

  • Fewer connections (2-4): Lower resource usage, good for stable connections
  • Default (8): Balanced for most networks
  • More connections (16+): Faster downloads, requires stable internet

Warning: Very high thread counts may be throttled by the server.

๐Ÿ› Troubleshooting

"No results found"

  • Try different search terms or variations of the manga title
  • Verify the manga exists on WeebCentral

"HTTP 403 Forbidden"

  • The scraper's headers may need updating if the website changed
  • Check tools.py and update user-agent strings if necessary

Slow downloads

  • Increase --connections value for faster parallel downloads
  • Check your internet connection speed
  • Try during off-peak hours

"Connection timeout"

  • The website may be temporarily unavailable
  • The tool automatically retries up to 5 times with exponential backoff
  • Check your internet connectivity

Incomplete chapters

  • Verify the chapter exists on WeebCentral
  • Try re-running the download command (it will skip existing files)
  • Check available disk space

๐Ÿค Contributing

Contributions are welcome! Areas for improvement:

  • Support for additional manga websites
  • GUI version
  • Advanced filtering and search options
  • Batch downloading from lists
  • Metadata and cover image support

๐Ÿ“ License

This project is licensed under the MIT License - see LICENSE file for details.

๐Ÿ“ž Support

For issues, questions, or feature requests:

  1. Check the troubleshooting section above
  2. Review existing GitHub issues
  3. Create a new GitHub issue with detailed information

Happy reading! ๐Ÿ“š

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wcdl-0.1.2.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wcdl-0.1.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file wcdl-0.1.2.tar.gz.

File metadata

  • Download URL: wcdl-0.1.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.12.58-1-lts

File hashes

Hashes for wcdl-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7c8a31ac0644eed9d70e409bceda0bdc3f45de989c37bc7aa885885209bc46cf
MD5 360634d2f81ae27bbc92fefc83204e36
BLAKE2b-256 b6d413fd50b99cf9b7b86a09b86b559188c611ab6116472fb654f44a5785fc3b

See more details on using hashes here.

File details

Details for the file wcdl-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: wcdl-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.12.58-1-lts

File hashes

Hashes for wcdl-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8e51df7ef7f2b2e96122c65ef6681de883089490b6d0048591d4b3dfe8d2759d
MD5 b70a29af825798a258d95c050e37fb78
BLAKE2b-256 bc68f4e9c7e9a09929bb417b20827441977ad63ef60395eb83d2ae10306ab294

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page