A Python script to scrape and download anime episodes from Anime Unity (https://www.animeunity.so/).
- Scrapes episode information from Anime Unity
- Downloads episodes in MP4 format
- Saves episode details to JSON file
- Supports all anime available on Anime Unity
- Python 3.x
- Required Python packages (see
requirements.txt
):- requests
- beautifulsoup4
- yt-dlp
- Clone this repository:
git clone https://github.com/yourusername/animeunity_scraper.git
cd animeunity_scraper
- Install the required packages using pip:
pip install -r requirements.txt
- Run the script:
python scraper.py
- When prompted, enter the Anime Unity URL of the anime you want to download. For example:
https://www.animeunity.so/anime/1469-naruto
- The script will:
- Scrape all available episodes
- Download each episode to the
downloads
directory - Save episode details to
episode_details.json
- Downloaded episodes will be saved in the
downloads
directory - Episode information will be saved in
episode_details.json
- Each episode will be named in the format:
Episode_[number]_[title].mp4
- The script includes a small delay between requests to avoid overwhelming the server
- Downloaded files are automatically ignored by Git (see
.gitignore
) - Make sure you have sufficient disk space for the downloads
- The script requires an active internet connection
This tool is for educational purposes only. Please respect copyright laws and the terms of service of Anime Unity. Only download content that you have the right to access.