Skip to content

Moskas/whdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wallhaven.cc downloader

Simple wallhaven.cc wallpaper downloader written in Rust.

Roadmap

  • Support for multi page downloading
  • Customizable downloads folder

Usage

The app has built-in help command:

Wallhaven.cc wallpaper downloader

Usage: whdl [OPTIONS] --query <QUERY>

Options:
  -q, --query <QUERY>            Query to search for
  -R, --ratios <RATIOS>          List of aspect ratios, can be a list comma separated
  -r, --resolution <RESOLUTION>  Exact resolution(s), can be a list comma separated
  -a, --atleast <ATLEAST>        Minimal resolution to search for
  -p, --purity <PURITY>          100/110/111 (sfw/sketchy/nsfw) [default: 100]
  -c, --category <CATEGORY>      Categories in xxx format 100/101/111 (general/anime/people) [default: 111]
  -s, --sorting <SORTING>        Method of sorting results, possible values: date_added, relevance, random, views, favorites, toplist [default: date_added]
  -o, --order <ORDER>            Order of sorting results, possible values: desc, asc [default: desc]
  -C, --colors <COLORS>          Colors to search for
  -P, --page <PAGE>              Download from specified page of results
  -h, --help                     Print help (see more with '--help')
  -V, --version                  Print version#+END_EXAMPLE

Example usage:

whdl -q "Cyberpunk 2077" -p 100 -r 1920x1080 -c 110 -R landscape

API Key

Additionally, you can supply an API key for Wallhaven. The application checks an environment variable named:

WALLHAVEN_API_KEY

About

wallhaven.cc batch downloader

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •