Forked from Gavin Heatheringtons HiAnimeDownloader, HiAnime is no longer up so ive edited his scripts to use on AniWatch instead; note that I have never used python and dont know how yt-dlp works so you may encounter issues, though some animes just have badly configured .vtt files which might not be the fault of the tool.
By default I recommend using VidSrc as the server to download from, I also recommend turning off your vpn if you use a free one.
If the downloader is failing you, try another server, and try occasionally tabbing into the browser window, in rare circumstances you may want to try restarting the browser window
If you would like to leave a bug report, I request that you include the anime and season the problem occurred on
Below is the ReadMe file which I have mostly kept the same from HiAnimeDownloader, it has a setup guide you will likely need.
A simple CLI tool for downloading content from the streaming platform aniwatch.to.
This tool works best if you have a VPN installed with Adblock support, as I have not been able to get a working ad blocker working with the chrome session.
- Python3 + PIP3
- Chrome Installed
-
Download the files from the repository.
git clone https://github.com/JackSelleck/AniWatchDownloader
-
Navigate into the directory it was downloaded to in your terminal.
-
Using pip install all the requirement from the
requirements.txtfile.-
For Windows
pip install -r requirements.txt
-
For Linux/macOS you may have to first create a virtual environment, so use the following commands.
python3 -m venv .venv source .venv/bin/activate python3 -m pip install -r requirements.txt
-
-
You are now ready to run the program with the following command.
-
Windows
python main.py
Alternatively you can use the Startup.bat file.
-
Linux/MacOS
python3 main.py
-
-
Double click the "Startup.bat"
-
After running the
main.pyfile, enter the name of the anime you would like to search for from aniwatch.to or provide a link to the content you would like to download -
If you provided a link you will jump to either the Downloading from Aniwatch or Downloading from Other
-
If you enter a name of an anime it will bring up a selection of anime options from the site, select the desired one with the corresponding number.
- Next you will be prompted to either select which version of the anime you would like; either sub or dub. If only one was available, it will be automatically selected for you.
- The next two prompts ask which episodes you want to download. You first provide the first episode, then the last episode you would like to download (both values are inclusive)
- The next prompt asks what season in the series this content is as an integer.
- The final prompt asks you which of the streaming servers you would like to download from (HD-1, HD-2, etc.)
- Note if a redirect ad to a second tab is created, close the second tab manually and refresh the original site to continue download. (This will hopefully be patched eventually)
You are able to pass parameters when running the file to add additional options.
-
-oor--output-dirlets you provide a path for the output files. For example,python3 main.py -o ~/Movies/ -
-lor--linkallows you to pass in a link to the content you want to download -
-nor--filenameallows you to pass in the name of the anime you are looking for, or the filename for the downloaded content from other platforms -
--no-subtitlesdownloads the content without looking for subtitle files -
--serverallows you to select the streaming server you would like to download from. -
--ariauses the aria2c downloader for yt-dlp to download the content (untested)
python3 main.py -o ~/Desktop/ --server "HD-1" -n "Dragon Ball" --no-subtitles