Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

downloads anime from nwanime

Project description

# nwanime-dl Anime Downloader
## Downloads anime from
[![Supported Python versions](](<nwanime_dl>/)
[![Development Status](](

###Note: Currently works only for linux and mac as it uses wget for the final download.

###Edit: It works with windows too, provided the steps mentioned below under "Windows Specific Instructions" are followed.

git clone this repo. then run
```python install```
```pip install nwanime-dl```

###Windows Specific Instructions:
1. You will need to add ```c:\python27\Scripts``` or equivalent location to your path variable. Learn how to do that [here](
Look at the other entries for pointers on formatting.
2. Download [Wget for windows]( and rename the file to wget.exe(notice the lowercase 'w'). Place wget.exe in some directory and add that to the PATH variable as well.
3. In the environment variables, open PATHEXT and add ```;.``` at the end. This means extensionless files will be considered executables.
4. the setup drops a script called 'nwanime-dl' in the ```python27\scripts``` directory. To be able to access and run this script from the command line, run the following commands
in an elevated command prompt(command prompt in administrator mode)

assoc .=Python.File
ftype Python.File=c:\Python27\python.exe "%1" %*
5. restart the computer.

1. Requests library
2. Beautifulsoup library
3. wget
4. lxml
These are automatically installed if you use pip.


usage: nwanime-dl [-h] [-i ITERATIVE] [-d DIRECTORY] url

Downloads anime from

positional arguments:
url url to download video from. In case of iterative
starting url. "continue" to continue from last
downloaded file in directory.

optional arguments:
-h, --help show this help message and exit
For range downloads. eg. nwanime-dl -i 10 <url> will
download iteratively the video in <url> and the next 9
videos(total 10)
Explicitly specify output directory. Current directory
by default.

###common patterns:

Download episode and 9 next episodes.

```nwanime-dl -i 10```

Download next episode after last downloaded episode in directory.(works only if nwanime-dl has downloaded to this directory before.)

```nwanime-dl continue```

Continue and keep going till 10 episodes

```nwanime-dl -i 10 continue```

$ nwanime-dl -i 10
Nanatsu no Taizai Episode 8
fetching mirrors
mirrors found
downloadable mirror found
attempting download from VidWoot
--2015-01-14 09:08:56--
Resolving (,,, ...
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: [following]
--2015-01-14 09:08:57--
Resolving (
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 57291492 (55M) [video/mp4]
Saving to: ‘Nanatsu no Taizai Episode 8.mp4’

99% [==========================================> ] 5,72,55,778 71.2KB/s in 13m 6s


2015-01-14 16:57:08 (14.5 KB/s) - Connection closed at byte 29901248. Retrying.

--2015-01-14 16:57:10-- (try: 3)
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: ‘Nanatsu no Taizai Episode 13.mp4’

[ <=> ] 4,436 --.-K/s in 0s

2015-01-14 16:57:18 (9.92 MB/s) - ‘Nanatsu no Taizai Episode 13.mp4’ saved [29901248]

Nanatsu no Taizai Episode 8 Done
Nanatsu no Taizai Episode 9 Done
Nanatsu no Taizai Episode 10 Done
Nanatsu no Taizai Episode 11 Done
Nanatsu no Taizai Episode 12 Done
Nanatsu no Taizai Episode 13 Done


### to do:
1. setuptools compatibility [X]
2. setuptools command line script [X]
3. range downloader [X]
4. reports on undownloadable episodes and undiscovered mirrors
5. windows and python 3 support
6. -D option for explicitly specifying output directory [X]
7. Pick only SUbbed mirrors [X]
8. Per directory continue feature [X]
special thanks to [Derrick Kearney]( for helping me test it .

(Shameless plug)
if you are using vlc to play these files and are missing a play next/prev file feature.. try [vlcwrapy-nix](

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nwanime_dl, version 1.9.1
Filename, size File type Python version Upload date Hashes
Filename, size nwanime_dl-1.9.1.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page