Skip to main content

reanimdl

An asynchronous command-line anime downloader for reanime.to.

It searches the site's public API, resolves the FlixCloud player, downloads HLS video/audio segments directly, decrypts them, and muxes everything into an MKV with subtitles, audio tracks, fonts, and chapter markers. Downloaded media stays in memory; only the final MKV is written to disk.

Install

pip install reanimdl

PyAV

PyAV is a Pythonic binding for FFmpeg. It bundles its own FFmpeg libraries, so reanimdl does not require a system ffmpeg binary. It provides direct access to stream templates, per-stream metadata and disposition, chapters, and add_attachment for embedding subtitle fonts — all without re-encoding a single frame. In reanimdl, video, audio, and subtitle streams stay entirely in memory while PyAV remuxes them directly into a Matroska container, writing only the final MKV to disk. No temporary media files are written.

Usage

Preferences

Save defaults for the output directory, preferred quality, and audio mode:

reanimdl preferences -o ~/Videos/Anime -q 720 --audio dual
reanimdl preferences              # show saved preferences
reanimdl preferences --reset      # restore built-in defaults

--audio accepts sub, dub, or dual. Command-line options on reanimdl download override saved preferences. The preferences file lives in the platform-specific user config directory chosen by platformdirs, for example:

  • Linux: ~/.config/reanimdl/preferences.json
  • macOS: ~/Library/Application Support/reanimdl/preferences.json
  • Windows: %LOCALAPPDATA%\reanimdl\preferences.json
reanimdl search "solo leveling"
reanimdl s frieren --limit 5

Show anime details and episodes:

reanimdl info solo-leveling-gyycz8
reanimdl episodes solo-leveling-gyycz8
reanimdl eps solo-leveling-gyycz8 --limit 5 --reverse

Download

# all episodes, best quality up to 1080p
reanimdl download solo-leveling-gyycz8

# episodes 1-3 and 7, English dub
reanimdl download solo-leveling-gyycz8 -e 1-3,7 --dub

# the newest five episodes, 720p, into a specific folder
reanimdl download solo-leveling-gyycz8 --latest 5 -q 720 -o ~/Videos/Anime

# both Japanese and English audio tracks
reanimdl download solo-leveling-gyycz8 -e 1 --dual

A title can be passed instead of an ID. If several anime match, reanimdl prints a numbered list and asks you to choose (or use --yes to accept the best match):

reanimdl download "frieren beyond journeys end" -e 1

Episode selection

-e/--episodes accepts:

Value Meaning
all or omitted every episode
1,3,5-8 explicit numbers and ranges
latest the last episode
1-last from episode 1 to the end
-5 the last five episodes

Use --latest N as a shortcut for the newest N episodes.

Download options

Option Description
-q, --quality N preferred vertical resolution (default: saved preference or 1080)
--audio sub|dub|dual audio track (default: saved preference or sub)
--dub shortcut for --audio dub
--dual shortcut for --audio dual
--server HD-1|HD-2 pick the CDN/server (default HD-1)
-o, --output DIR output directory (default: saved preference or .)
--workers N concurrent segment downloads (default 32)
-f, --force overwrite existing output files
--no-subs do not mux subtitles
--no-fonts do not attach subtitle fonts
--no-chapters do not write chapter markers
-y, --yes accept automatic choices / skip confirmation
--quiet hide progress and status output

Files are written as:

<output>/<Anime Title>/<Anime Title> - E01 [1080p] [Sub].mkv

Video/audio segments, subtitles, and fonts are kept in memory. PyAV muxes directly from those in-memory streams into the final MKV, so no temporary media files are written.

Disclaimer

Downloading copyrighted material may be illegal where you live. Use this tool only for content you are allowed to download. The project is not affiliated with reanime.to, FlixCloud, or their CDNs.

Metadata

Release files for reanimdl 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reanimdl 0.1.1
File Size Uploaded Provenance Actions
reanimdl-0.1.1.tar.gz 27.3 kB Without provenance Details for reanimdl-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reanimdl 0.1.1
File Interpreter ABI Platform Actions
reanimdl-0.1.1-py3-none-any.whl Python 3 none any Details for reanimdl-0.1.1-py3-none-any.whl

Total release size: 58.9 kB

Release files / reanimdl-0.1.1.tar.gz

Download URL reanimdl-0.1.1.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
923baba6fd38f28c3018f7341ddbe166d800fac7165a7aa73c5a25e0c5a93f35
BLAKE2b-256 checksum
How to use checksums
428d2a89ec9c5d40b72585e77fe049a0e6d2749274fc560d2fe9850ca651843d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / reanimdl-0.1.1-py3-none-any.whl

Download URL reanimdl-0.1.1-py3-none-any.whl
Size 31.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9aeb86f44253d9d947125c42d50578e87763768b07518014fea9888cf852a3bd
BLAKE2b-256 checksum
How to use checksums
1d3c4e9111191d3e4b2d684c9d39945b7f49d04320eece6c6599fd67c02e023d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for reanimdl 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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