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
- Single chapters:
- ๐ฆ 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 creationrich- Beautiful terminal outputrequests- HTTP requests with retry logicbeautifulsoup4- 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:
- Searches WeebCentral for matching manga
- Displays a formatted table of results
- Lets you select a manga by ID
- 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 only1-10- Download chapters 1 through 10 (inclusive)1,3,5- Download chapters 1, 3, and 51-5,10-15- Download chapters 1-5 and 10-151,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.pyand update user-agent strings if necessary
Slow downloads
- Increase
--connectionsvalue 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:
- Check the troubleshooting section above
- Review existing GitHub issues
- Create a new GitHub issue with detailed information
Happy reading! ๐
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af393b9c82c371fdfc91ab8e9de96933fee17dd9980a8a34d39e20cb6de2a58b
|
|
| MD5 |
dbf4b5aa5e908f3d5c5aaed2273ece5c
|
|
| BLAKE2b-256 |
c2e1b0ac853a36e05e022e0efda6c74f20c391d65a86671d5e7c564b3b35dba2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f28b3aed7622eb86c627716b839c18238103f9bb11d1bb8cec83d0bebe8b91e9
|
|
| MD5 |
25dc95cb8e8cc3fa0464a76f8012be9b
|
|
| BLAKE2b-256 |
91b621410ea0a7d9d8a086b6544c0ee3a5668b04c21912d3a925693a0265579f
|