AnimeDlp
A clean and robust command-line downloader for specific anime video sites
AnimeDlp extracts direct video URLs or downloads episodes from supported anime video sites. It handles common protection cookies and session needs gracefully, and uses yt-dlp for reliable media download.
Philosophy: CIAO / CIAO-Lite defensive design.
Features
- Support for anime1.me and anime1.pw (API and HTML extract paths)
- Multi-episode series discovery where pages expose episode links
- Extract URLs only (
--extract) or download directly - Optional Cloudflare assist (
cf_clearance+ User-Agent) - Safe playback-cookie subset for anime1.me API cookies
- Fast downloads via yt-dlp with concurrent fragment support
- Clean logging with optional verbose debug mode
Installation
From PyPI
pip3 install AnimeDlp
From a local checkout
pip3 install -e .
# or
pip3 install .
Required dependencies
Declared in pyproject.toml and installed with the package:
requests,beautifulsoup4,lxml,yt-dlp,ChronicleLogger
Python 3.8+ is required (requires-python in packaging).
Usage
Basic command
anime-dlp "https://anime1.me/your-series-or-episode-url"
# or
python -m AnimeDlp "https://anime1.pw/your-page-url"
Options
Usage: anime-dlp [OPTIONS] URL
A clean downloader for anime1.me and anime1.pw
Positional Arguments:
url URL from anime1.me or anime1.pw
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://anime1.me/..."
2. Extract direct video URLs only:
anime-dlp "https://anime1.me/..." --extract
3. Bypass Cloudflare protection:
anime-dlp "https://anime1.me/..." --cloudflare "your_cf_clearance_value" --user-agent "Mozilla/5.0 ..." --verbose
How it works
- Validates the host (
anime1.meoranime1.pwonly). - Parses episode information / API tokens from the page.
- For anime1.me, calls the site API and applies needed playback cookies safely.
- Either prints sources (
--extract) or downloads with yt-dlp.
Troubleshooting
- Cloudflare block (403): Get a fresh
cf_clearancefrom your browser and pass--cloudflarewith a matching--user-agentwhen required. - Cookie-related errors: The tool uses a fixed cookie-name subset for me API downloads.
- No video found: Run with
--verbosefor detailed logs. - Unsupported host: Only anime1.me / anime1.pw are accepted.
Development / tests
pip3 install -e . pytest
python3 -m pytest -q tests/
Product law: docs/requirements/. TP map: docs/reviews/test-plan.md.
Project links
- Homepage / Repository: https://github.com/Wilgat/AnimeDlp
- Issues: https://github.com/Wilgat/AnimeDlp/issues
- PyPI: https://pypi.org/project/AnimeDlp/
Version
1.1.0 — SSOT: pyproject.toml and src/AnimeDlp/__init__.py (__version__).
License
MIT — see LICENSE.md.
Security
See SECURITY.md for reporting contact and design posture.
Disclaimer
This tool is intended for personal, educational use only. 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.
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.1.0.tar.gz.
File metadata
- Download URL: animedlp-1.1.0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5636e453105aaaa7e3087cbbedb787b11ef44fa894a2bd91e61c657f69328c63
|
|
| MD5 |
21b81a0325d2b3a9db9dba8099a4f776
|
|
| BLAKE2b-256 |
875e12c699eaacc28ecddfd23183f73048f1da8b3ed4fb0c7c176468234c4c1a
|
File details
Details for the file animedlp-1.1.0-py3-none-any.whl.
File metadata
- Download URL: animedlp-1.1.0-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
959a7c314e64625a325220a51499255e89ebb3a63dc5845bdfa9c77b1e872a44
|
|
| MD5 |
1feae97a1c034d90aa674b03d98da2b9
|
|
| BLAKE2b-256 |
267bbed86250ab6eb5f1288b83cb3baccf1ee6ed27ef6b0943f4803afb123353
|