Simple wallhaven.cc wallpaper downloader written in Rust.
- Support for multi page downloading
- Customizable downloads folder
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
Additionally, you can supply an API key for Wallhaven. The application checks an environment variable named:
WALLHAVEN_API_KEY