AniWorld Downloader is a command-line tool for downloading and streaming anime movies and series from aniworld.to, as well as regular movies and TV shows from s.to. Currently available for Windows, macOS and Linux, it supports LoadX, VOE, Vidmoly, Filemoon, Luluvdo, Doodstream, Vidoza, SpeedFiles and Streamtape.
pip install aniworld && aniworld
- Download Episodes or Seasons: Effortlessly download individual episodes or entire seasons with a single command
- Stream Instantly: Watch episodes directly using the integrated mpv player for a seamless experience
- Auto-Next Playback: Enjoy uninterrupted viewing with automatic transitions to the next episode
- Multiple Providers: Access a variety of streaming providers on aniworld.to and s.to for greater flexibility
- Language Preferences: Easily switch between German Dub, English Sub, or German Sub to suit your needs
- Aniskip Support: Automatically skip intros and outros for a smoother viewing experience
- Group Watching with Syncplay: Host synchronized anime sessions with friends using Syncplay integration
- Web Interface: Modern web UI for easy anime searching, downloading, and queue management
- Docker Support: Containerized deployment with Docker and Docker Compose for easy setup
AniWorld Downloader supports the following providers:
- LoadX
- VOE
- Vidmoly
- Filemoon
- Luluvdo
- Doodstream
- Vidoza
- SpeedFiles
- Streamtape
AniWorld Downloader offers four versatile usage modes:
- Interactive Menu: Launch the tool and navigate through an intuitive menu to select and manage downloads or streams
- Web Interface: Modern web UI for easy searching, downloading, and queue management with real-time progress tracking
- Command-Line Arguments: Execute specific tasks directly by providing arguments, such as downloading a particular episode or setting preferences
- Python Library: Integrate AniWorld Downloader into your Python projects to programmatically manage anime, series, or movie downloads
Choose the method that best suits your workflow and enjoy a seamless experience!
To start the interactive menu, simply run:
aniworldLaunch the modern web interface for easy searching, downloading, and queue management:
aniworld --web-uiThe web interface provides:
- Modern Search: Search anime across aniworld.to and s.to with a sleek interface
- Episode Selection: Visual episode picker with season/episode organization
- Download Queue: Real-time download progress tracking
- User Authentication: Optional multi-user support with admin controls
- Settings Management: Configure providers, languages, and download preferences
# Basic web interface (localhost only)
aniworld --web-ui
# Expose to network (accessible from other devices)
aniworld --web-ui --web-expose
# Enable authentication for multi-user support
aniworld --web-ui --enable-web-auth
# Custom port and disable browser auto-open
aniworld --web-ui --web-port 3000 --no-browser
# Web interface with custom download directory
aniworld --web-ui --output-dir /path/to/downloadsAniWorld Downloader provides a variety of command-line options for downloading and streaming anime without relying on the interactive menu. These options unlock advanced features such as --aniskip, --keep-watching, and --syncplay-password.
To download episode 1 of "Demon Slayer: Kimetsu no Yaiba":
aniworld --episode https://aniworld.to/anime/stream/demon-slayer-kimetsu-no-yaiba/staffel-1/episode-1To download multiple episodes of "Demon Slayer":
aniworld --episode https://aniworld.to/anime/stream/demon-slayer-kimetsu-no-yaiba/staffel-1/episode-1 https://aniworld.to/anime/stream/demon-slayer-kimetsu-no-yaiba/staffel-1/episode-2To watch an episode while skipping intros and outros:
aniworld --episode https://aniworld.to/anime/stream/demon-slayer-kimetsu-no-yaiba/staffel-1/episode-1 --action Watch --aniskipTo syncplay a specific episode with friends:
aniworld --episode https://aniworld.to/anime/stream/demon-slayer-kimetsu-no-yaiba/staffel-1/episode-1 --action Syncplay --keep-watchingYou can select different languages for yourself and your friends:
- For German Dub:
aniworld --episode https://aniworld.to/anime/stream/demon-slayer-kimetsu-no-yaiba/staffel-1/episode-1 --action Syncplay --keep-watching --language "German Dub" --aniskip- For English Sub:
aniworld --episode https://aniworld.to/anime/stream/demon-slayer-kimetsu-no-yaiba/staffel-1/episode-1 --action Syncplay --keep-watching --language "English Sub" --aniskipNote: Syncplay automatically groups users watching the same anime (regardless of episode). To restrict access, set a password for the room:
aniworld --episode https://aniworld.to/anime/stream/demon-slayer-kimetsu-no-yaiba/staffel-1/episode-1 --action Syncplay --keep-watching --language "English Sub" --aniskip --syncplay-password beansTo download an episode using the VOE provider with English subtitles:
aniworld --episode https://aniworld.to/anime/stream/demon-slayer-kimetsu-no-yaiba/staffel-1/episode-1 --provider VOE --language "English Sub"You can download episodes listed in a text file. Below is an example of a text file (test.txt):
# The whole anime
https://aniworld.to/anime/stream/alya-sometimes-hides-her-feelings-in-russian
# The whole Season 2
https://aniworld.to/anime/stream/demon-slayer-kimetsu-no-yaiba/staffel-2
# Only Season 3 Episode 13
https://aniworld.to/anime/stream/kaguya-sama-love-is-war/staffel-3/episode-13
To download the episodes specified in the file, use:
aniworld --episode-file test.txt --language "German Dub"This can also be combined with Watch and Syncplay actions, as well as other arguments, for a more customized experience.
Download a provider link. It's important to note that you also need to specify the provider manually.
aniworld --provider-link https://voe.sx/e/ayginbzzb6bi --provider VOEEnsure you have Python 3.9 or higher installed. Additionally, make sure Git is installed if you plan to install the development version.
Note: If you are using an ARM-based system, you might face issues with the curses module. Use the amd64 Python version instead of the ARM version. For more details, refer to GitHub Issue #14.
To install the latest stable version directly from PyPI, use the following command:
pip install --upgrade aniworldTo install the latest development version directly from GitHub, use the following command:
pip install --upgrade git+https://github.com/phoenixthrush/AniWorld-Downloader.git@next#egg=aniworldRe-run this command periodically to update to the latest development build. These builds are from the next branch and may include experimental or unstable changes.
For a local installation, follow these steps:
-
Clone the repository:
git clone https://github.com/phoenixthrush/AniWorld-Downloader aniworld
-
Install the package in editable mode:
pip install -U -e ./aniworld
-
To update your local version, run:
git -C aniworld pull
You don't need Python installed to use binary builds of AniWorld available on GitHub.
To uninstall AniWorld Downloader, run the following command:
pip --uninstall aniworldEnhance your anime viewing experience with Anime4K. Follow the instructions below to configure Anime4K for use with the mpv player, even outside of AniWorld Downloader.
(Examples: GTX 1080, RTX 2070, RTX 3060, RX 590, Vega 56, 5700XT, 6600XT, M1 Pro/Max/Ultra, M2 Pro/Max)
Run the following command to optimize Anime4K for high-end GPUs:
aniworld --anime4k High(Examples: GTX 980, GTX 1060, RX 570, M1, M2, Intel integrated GPUs)
Run the following command to configure Anime4K for low-end GPUs:
aniworld --anime4k LowTo remove Anime4K from your setup, use this command:
aniworld --anime4k RemoveAll files for Anime4K are saved in the mpv directory during installation.
- Windows:
C:\Users\<YourUsername>\AppData\Roaming\mpv - macOS:
/Users/<YourUsername>/.config/mpv - Linux:
/home/<YourUsername>/.config/mpv
You can switch between High and Low modes at any time to match your GPU's performance. To cleanly uninstall Anime4K, use the Remove option.
AniWorld Downloader can be easily deployed using Docker for containerized environments.
This option uses a minimal setup, only requiring the compose.yml file to run the pre-built image from the GitHub Container Registry.
-
Create a dedicated directory and navigate into it:
mkdir aniworld-downloader cd aniworld-downloader -
Create required data and download directories:
- This step ensures that the host folders for data and downloads exist, which is a good practice for proper permission mapping and reliable container startup.
These are the commands if you are following the example:
mkdir downloads mkdir data
-
Create the
docker-compose.ymlfile with the following content:services: aniworld: container_name: aniworld-downloader image: ghcr.io/phoenixthrush/aniworld-downloader ports: - "8080:8080" volumes: - ./downloads:/app/downloads - ./data:/app/data restart: unless-stopped
Note: You can relocate the
./downloadspath to any location on your host disk where you want the downloaded files to be saved. Keep in mind to create that folder! -
Start the container in detached mode:
docker-compose up -d
docker-compose up -d
docker run -d \
--name aniworld-downloader \
-p 8080:8080 \
-v $(pwd)/downloads:/app/downloads \
-v $(pwd)/data:/app/data \
ghcr.io/phoenixthrush/aniworld-downloaderThe Docker container runs with:
- User Security: Non-root user for enhanced security
- System Dependencies: Includes ffmpeg for video processing
- Web Interface: Enabled by default with authentication and network exposure
- Download Directory:
/app/downloads(mapped to host via volume bind) - Port: 8080 (configurable via docker port exposure)
You can also use AniWorld Downloader as a library in your Python scripts to programmatically manage anime downloads or streams. Here's an example:
from aniworld.models import Anime, Episode
# Define an Anime object with a list of episodes
anime = Anime(
episode_list=[
Episode(
slug="food-wars-shokugeki-no-sma",
season=1,
episode=5
),
Episode(
link="https://aniworld.to/anime/stream/food-wars-shokugeki-no-sma/staffel-1/episode-6"
)
]
)
# Iterate through the episodes and retrieve direct links
for episode in anime:
print(f"Episode: {episode}")
print(f"Direct Link: {episode.get_direct_link('VOE', 'German Sub')}")# Clone and install in development mode
git clone https://github.com/phoenixthrush/AniWorld-Downloader.git
cd AniWorld-Downloader
pip install -e .
# Install development dependencies
pip install . ruff pylint pytest# Run linting
ruff check src/aniworld
pylint src/aniworld --disable=broad-exception-caught,missing-module-docstring --allow-reexport-from-package=y
# Run tests
pytest tests/Contributions to AniWorld Downloader are highly appreciated! You can help enhance the project by:
- Reporting Bugs: Identify and report issues to improve functionality
- Suggesting Features: Share ideas to expand the tool's capabilities
- Submitting Pull Requests: Contribute code to fix bugs or add new features
- Improving Documentation: Help enhance user guides and technical documentation
-
Tmaster055 (since Oct 21, 2024)
Special thanks to Tmaster055 for resolving the Aniskip issue by correctly fetching the MAL ID!
Additional thanks to fundyjo for contributing the Doodstream extractor!
If you're using an ARM-based system, you might face issues with the curses module. Use the amd64 Python version instead of the ARM version. For more details, refer to GitHub Issue #14.
If you've restarted your terminal and aniworld isn't being recognized, you have two options:
- Add
aniworldto your PATH so it can be found globally - Run
python -m aniworld, which should work without adding it to PATH
If a provider fails to extract links:
- Try a different provider using the
--providerargument - Check if the provider is working by testing with a different episode
- Report the issue on GitHub with the specific provider and episode URL
For installation-related problems:
- Ensure you have Python 3.9 or higher installed
- Make sure pip is updated:
pip install --upgrade pip - On Windows, ensure you have proper permissions for installation
For comprehensive user guides, tutorials, and additional documentation, visit the official documentation website: AniWorld-Downloader-Docs
The documentation is continuously updated with new features, detailed tutorials, and troubleshooting guides to help you get the most out of AniWorld Downloader.
AniWorld Downloader relies on several Python packages for networking, scraping, downloading, and its user interfaces:
- requests – HTTP request handling
- beautifulsoup4 – HTML parsing and scraping
- yt-dlp – Video downloading from supported providers
- npyscreen – Interactive terminal-based UI
- tqdm – Download progress bars
- fake_useragent – Random user-agent generation
- packaging – Version parsing and comparison
- jsbeautifier – Required for the Filemoon extractor
- flask – Web interface support
- py-cpuinfo – CPU feature detection (AVX2 support for MPV)
- windows-curses – Terminal UI support on Windows
- winfcntl – File locking support on Windows
All required dependencies are installed automatically when AniWorld Downloader is installed via pip.
AniWorld Downloader is built upon the work of several amazing open-source projects:
- mpv: A versatile media player used for seamless streaming
- yt-dlp: A powerful tool for downloading videos from various providers
- Syncplay: Enables synchronized playback sessions with friends
- Anime4K: A cutting-edge real-time upscaler for enhancing anime video quality
- Aniskip: Provides the opening and ending skip times for the Aniskip extension
If you need help with AniWorld Downloader, you can:
- Submit an issue on the GitHub Issues page
- Reach out directly via email at [email protected] or on Discord at
phoenixthrushortmaster067
While email support is available, opening a GitHub issue is preferred, even for installation-related questions, as it helps others benefit from shared solutions. However, feel free to email if that's your preference.
If you find AniWorld Downloader useful, consider starring the repository on GitHub. Your support is greatly appreciated and inspires continued development.
Thank you for using AniWorld Downloader!
AniWorld Downloader is made for accessing content that's already publicly available online. It doesn't support or promote piracy or copyright violations. The developer isn't responsible for how the tool is used or for any content found through external links.
All content accessed with AniWorld Downloader is available on the internet, and the tool itself doesn't host or share copyrighted files. It also has no control over the accuracy, legality, or availability of websites it links to.
If you have concerns about any content accessed through this tool, please reach out directly to the website's owner, admin, or hosting provider. Thanks for your understanding.
This project is licensed under the MIT License. For more details, see the LICENSE file.
