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.1.tar.gz (12.4 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.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wcdl-0.1.1.tar.gz
  • Upload date:
  • Size: 12.4 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.1.tar.gz
Algorithm Hash digest
SHA256 af393b9c82c371fdfc91ab8e9de96933fee17dd9980a8a34d39e20cb6de2a58b
MD5 dbf4b5aa5e908f3d5c5aaed2273ece5c
BLAKE2b-256 c2e1b0ac853a36e05e022e0efda6c74f20c391d65a86671d5e7c564b3b35dba2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wcdl-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f28b3aed7622eb86c627716b839c18238103f9bb11d1bb8cec83d0bebe8b91e9
MD5 25dc95cb8e8cc3fa0464a76f8012be9b
BLAKE2b-256 91b621410ea0a7d9d8a086b6544c0ee3a5668b04c21912d3a925693a0265579f

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