[Running on windows]
As this tool is a bash
script, so we need bash
to execute.
Here is a complete step for running the tool on Windows.
- Enable WSL (Windows Subsystem for Linux)
-
Press
Windows key + R
and runoptionalfeatures
. Find Windows Subsystem for Linux and enable the feature. -
Install WSL from Windows command line. (Need to be admin. You should able to right click on windows icon and launch
cmd
) -
After launch, install ubuntu by
wsl --install -d Ubuntu
Note: Make sure the Hypervisors and VM platform are also enabled if Ubuntu launch failed.
- Install
iwara-dl
on WSL with dependency. Lets put the code into Windows'Document folder
sudo apt update; ## update package manager
sudo apt install unzip jq curl nkf; ## install dependency
cd /mnt/c/Users/hare1039/Documents/; ## go to windows document
wget https://github.com/hare1039/iwara-dl/archive/refs/heads/master.zip; ## download this repo's master branch
unzip master.zip; ## unzip code
rm master.zip; ## delete zip
cd iwara-dl-master; ## go to code directory
After install the dependency, you can check whether the install works ok or not:
You can see iwara-dl
downloads the video, but the videos are inside the code directory. Lets setup some shortcut.
- Setup shortcut
nano ~/.bashrc;
# And add
alias iwara-dl='IWARA_USER=hare1039 IWARA_PASS=password /mnt/c/Users/hare1039/Documents/iwara-dl-master/iwara-dl.sh'
# Ctrl-X and save the file
source ~/.bashrc
- Lets test it:
cd /mnt/c/Users/hare1039/Downloads;
iwara-dl https://www.iwara.tv/playlist/8ae13720-750d-46f0-b8a4-0162daf4a439;
Good if you see the videos in your downloads