# Wallhaven-dl

## UPDATE
###The script now comes with a serach functionality, you can now search and download wallpapers from the command line.

---------------------------------------------------------------------

A wallhaven scraper which downloads all the wallpapers form the first page of [alpha.wallhaven.cc](http://alpha.wallhaven.cc/)

This Script now comes with categories and purity sort support.
###### NOTE- Downloading NSFW images require a [Wallhaven Account](https://alpha.wallhaven.cc/user/create)


![](https://raw.githubusercontent.com/GeekSpin/Wallhaven-dl/master/Images/wallhaven-dl%20(1).gif)

## How to use:
  
  1. Download the wallhaven-dl.py
  2. Move wallhaven-dl.py to the folder in which you want wallpapers to download.
  3. run script 
  4. It'll ask for option to choose categories or download the latest wallpapers, choose as per desired
  5. enjoy!
```
$ python3 wallhaven-dl.py
```

## Dependencies:
  
  This project depends on BeautifulSoup, Requests, tqdm, lxml
  Your can install install the dependencies using the requirments.txt file and running
  ```
  $ pip3 install -r requirments.txt
  ```
  


Wallhaven-dl © 2016, Saurabh Bhan. Released under the [MIT License](https://raw.githubusercontent.com/GeekSpin/Wallhaven-scraper/master/LICENSE).
