A command-line video editing tool built in Python for cutting, speeding up, and applying a boomerang effect to MP4 videos.
Project description
AnimeDlp
A clean and robust command-line downloader for specific anime video sites
AnimeDlp allows you to easily extract direct video URLs or download episodes from supported anime video sites. It handles protection mechanisms and special cookie requirements gracefully, powered by yt-dlp.
Features
- Support for popular anime video sites (including API-based extraction)
- Automatically detects multi-episode series
- Extract video URLs only (
--extract) or download directly - Built-in handling for Cloudflare protection (
cf_clearance) - Safe cookie extraction to prevent common session conflicts
- Fast downloads using
yt-dlpwith concurrent fragment support - Clean output with optional verbose debug mode
Installation
Install via pip:
pip3 install AnimeDlp
Required Dependencies
If you install by git clone, you need to add the following dependencies.
pip3 install requests beautifulsoup4 lxml yt-dlp ChronicleLogger
Usage
Basic Command
anime-dlp "https://your-anime-video-site-url-here"
Options
Usage: anime-dlp [OPTIONS] URL
A clean downloader for supported anime video sites
Positional Arguments:
url URL from a supported anime video site
Optional Arguments:
-h, --help show this help message and exit
-v, --verbose Enable debug output
-x, --extract Extract URLs only (no download)
-cf, --cloudflare CF cf_clearance cookie value (for Cloudflare protection)
-ua, --user-agent UA Custom User-Agent string
Examples
1. Download episodes:
anime-dlp "https://example-anime-site.com/your-series-url"
2. Extract direct video URLs only:
anime-dlp "https://example-anime-site.com/..." --extract
3. Bypass Cloudflare protection:
anime-dlp "https://example-anime-site.com/..." --cloudflare "your_cf_clearance_value_here" --verbose
4. Custom User-Agent:
anime-dlp "https://example-anime-site.com/..." --user-agent "Mozilla/5.0 ..."
How It Works
- Parses episode information from the page
- Calls internal APIs when needed and safely handles required playback cookies
- Automatically finds and sorts episodes in series pages
- Uses yt-dlp for reliable, high-speed downloading
Troubleshooting
- Cloudflare block (403): Get a fresh
cf_clearancecookie from your browser and use the--cloudflareflag. - Cookie-related errors: The tool includes a robust fix for duplicate cookie name issues.
- No video found: Run with
--verboseto see detailed logs.
Requirements
- Python 3.8 or higher
requests,beautifulsoup4,lxml,yt-dlp, andChronicleLogger
Project Links
- Homepage: https://github.com/Wilgat/AnimeDlp
- Repository: https://github.com/Wilgat/AnimeDlp
- Issues: https://github.com/Wilgat/AnimeDlp/issues
Changelog
v1.0.0 (Current)
- Initial public release
- Robust cookie handling implemented
- Support for major anime video sites
- CLI command
anime-dlpadded
License
This project is licensed under the MIT License.
Disclaimer
This tool is intended for personal, educational use only. Please respect the terms of service of the websites you use it with. Downloading copyrighted material may be illegal in your jurisdiction.
Made for anime fans who want a simple downloading experience.
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 animedlp-1.0.1.tar.gz.
File metadata
- Download URL: animedlp-1.0.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8dee6eed347a61e711b58043f02145c6458a18e9c51ec51b1b924bdb2e6bd4b
|
|
| MD5 |
1bbd4164ebb723082e2502224ef05f8c
|
|
| BLAKE2b-256 |
1acc113679d9c20269d3b53a53bae90c67c6c749d991ad990a8cbaf555a9b214
|
File details
Details for the file animedlp-1.0.1-py3-none-any.whl.
File metadata
- Download URL: animedlp-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c63c21e607a22aaa03945169302b1337d67d5165c7cc0db6bdaabaf559fcd574
|
|
| MD5 |
4a2bcb5a471f927e3a5619feb8ad6b1f
|
|
| BLAKE2b-256 |
b4c79c56a6ed2f705beafc579851c4cca87f54f5ccb02b2609963fa8541423e3
|