Ancient tomes and first seasons may be lost to the realms, as source domains preserve only recent chronicles. The imperial scribes are working on realm aggregation techniques to restore these lost cultivation manuals in future updates.
Features
Everything you need to stream and download Donghua from the terminal
Multi-Source Scraping
Searches LuciferDonghua and AnimeXin simultaneously, giving you the widest library of Chinese animation available.
Instant Streaming
MPV-powered playback with yt-dlp backend. LRU caching and episode preloading for zero-wait binge sessions.
Fast Downloads
Save episodes locally to ~/Videos/Donghua for offline cultivation. Select quality from 360p to 1080p.
Cross-Platform
Runs on Linux, Windows, Android (Termux), and iOS (iSH). Optimized scripts for each platform.
Deep Iframe Scanning
Advanced stream extraction that digs through nested iframes, base64 obfuscation, and Dailymotion embeds.
Quality Control
Choose 360p for mobile data, 720p for balanced, or 1080p for the full cultivation experience.
Prerequisites
Gather these tools before entering the cultivation grounds
requests — HTTP requests • beautifulsoup4 — HTML
parsing • yt-dlp — Video extraction
Installation
Select your platform and follow the sacred scrolls
Linux
Ubuntu / Debian / Linux Mint / Fedora / ArchCtrl+Alt+T.# Debian / Ubuntu / Mint sudo apt update && sudo apt install python3 python3-pip mpv ffmpeg -y # Fedora sudo dnf install python3 python3-pip mpv ffmpeg -y # Arch Linux sudo pacman -S python python-pip mpv ffmpeg
pip3 install requests beautifulsoup4 yt-dlp
dhua command aliases.chmod +x install.sh && ./install.sh
source ~/.bashrc # or ~/.zshrc if you use Zsh
Run
dhua "test" — if the Wuxia-themed interface appears, the
installation succeeded.
You can always run directly: python3 dhua.py "Series Name"
Windows
Windows 10 / 11 • PowerShellwinget install mpv
Set-ExecutionPolicy Bypass -Scope CurrentUser
dhua
commands in your PowerShell profile..\install.ps1
Run
dhua "test" in a new PowerShell window — you should see the
Donghua CLI interface.
The PowerShell installer: (1) auto-detects your Python command (python,
python3, or py), (2) installs requests, beautifulsoup4 &
yt-dlp via pip, (3) checks for MPV, and (4) adds function aliases to your PowerShell
profile.
Android
Termux • Android 7+# Update Termux packages pkg update && pkg upgrade -y # Install Python and libraries pkg install python python-pip requests beautifulsoup4 -y
pip install yt-dlp
donghua.py script to your
Termux environment.# Copy donghua.py into Termux, then: chmod +x donghua.py
python donghua.py
The Donghua CLI menu should appear. Search for any series to confirm streams are working.
• Defaults to 360p to save mobile data
• Deep iframe scanning finds hidden streams
• Dailymotion embed auto-detection
• Auto-launches MPV, VLC, MX Player, or any installed video app
iOS
iSH Shell • iPhone / iPadapk update && apk upgrade apk add python3 py3-pip
pip3 install requests beautifulsoup4 yt-dlp
donghua.py into iSH and launch it. Streams will
open as clickable links that launch VLC.python3 donghua.py
Search for any series. Tap a stream link to open it in VLC.
• VLC is required for video playback on iOS
• Stream URLs appear as clickable links in the terminal
• iSH uses Alpine Linux under the hood, so apk is the package manager
• Python 3.14 compatibility — Fixed subprocess handling
• Deep iframe scanning — Extracts streams from hidden/nested
players
• Dailymotion detection — Automatically finds Dailymotion embeds
• Android optimization — Mobile-friendly with 360p default
• Multi-player support — Auto-launches MPV, VLC, or MX Player on
Android
Usage
Master these commands to navigate the cultivation grounds
Desktop Commands (Linux & Windows)
| Command | Description | Example |
|---|---|---|
dhua |
Interactive search & stream (default quality) | dhua "Soul Land" |
dhua360 |
Stream in 360p (low bandwidth) | dhua360 "Perfect World" |
dhua480 |
Stream in 480p (balanced) | dhua480 "Martial Peak" |
dhua720 |
Stream in 720p HD | dhua720 "Btth" |
dhua1080 |
Stream in 1080p Full HD | dhua1080 "Swallowed Star" |
dhuadl |
Download episodes to ~/Videos/Donghua | dhuadl "Martial Peak" |
Mobile Commands (Android & iOS)
Android / Termux
python donghua.py
Interactive menu with 360p default. Auto-detects installed video players.
iOS / iSH
python3 donghua.py
Interactive menu with VLC integration. Clickable stream links.
Cultivation Tips
Series Selection
When multiple results appear, type the number and press Enter to select.
Episode Ranges
Play multiple episodes: type 1-5 for a range or 1,3,7 for specific
episodes.
Stream Caching
Previously played streams are cached. Replay any episode instantly without re-extracting.
Episode Preloading
The next episode's stream is preloaded in the background while you watch. Zero wait between episodes.
Troubleshooting
Common issues and their solutions
source ~/.bashrc (or source ~/.zshrc). On Windows, restart
PowerShell. You can also run directly with python3 dhua.py "query".
mpv is installed and in your PATH. On Android, ensure you
have a video player app installed (MPV, VLC, or MX Player).
pip3 install requests beautifulsoup4 yt-dlp. If you have multiple Python
versions, make sure you're using the right pip (try python3 -m pip install
instead).
Set-ExecutionPolicy Bypass -Scope CurrentUser in PowerShell before running
the installer. This allows local scripts to execute on your machine.