Skip to main content

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.

Python Version License PyPI GitHub stars

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

  1. Validates the host (anime1.me or anime1.pw only).
  2. Parses episode information / API tokens from the page.
  3. For anime1.me, calls the site API and applies needed playback cookies safely.
  4. Either prints sources (--extract) or downloads with yt-dlp.

Troubleshooting

  • Cloudflare block (403): Get a fresh cf_clearance from your browser and pass --cloudflare with a matching --user-agent when required.
  • Cookie-related errors: The tool uses a fixed cookie-name subset for me API downloads.
  • No video found: Run with --verbose for 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

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

animedlp-1.1.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

animedlp-1.1.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

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

Hashes for animedlp-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5636e453105aaaa7e3087cbbedb787b11ef44fa894a2bd91e61c657f69328c63
MD5 21b81a0325d2b3a9db9dba8099a4f776
BLAKE2b-256 875e12c699eaacc28ecddfd23183f73048f1da8b3ed4fb0c7c176468234c4c1a

See more details on using hashes here.

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

Hashes for animedlp-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 959a7c314e64625a325220a51499255e89ebb3a63dc5845bdfa9c77b1e872a44
MD5 1feae97a1c034d90aa674b03d98da2b9
BLAKE2b-256 267bbed86250ab6eb5f1288b83cb3baccf1ee6ed27ef6b0943f4803afb123353

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page