wallhaven_dl/README.md
2023-10-24 21:06:07 -07:00

37 lines
1.3 KiB
Markdown

# wallhaven_dl
this is a tool for downloading images from wallhaven and then passing the download path to a scrip to run(to set the wallpaper, run pywal, whatever)
```
Usage:
wallhaven_dl search [flags]
Aliases:
search, s
Flags:
--at-least string minimum resolution for results. (default "2560x1440")
-c, --categories string categories for the search. (default "010")
-d, --download-path string directory to download the image too
-h, --help help for search
-m, --maxPage int number of pages to randomly choose wallpaper from. (default 5)
-o, --order string sort order for results, valid sorts: asc desc. (default "desc")
-p, --purity string purity for the search. (default "110")
-r, --range string range for search. (default "1y")
--ratios strings ratios to search for. (default [16x9,16x10])
-t, --script string script to run after downloading the wallpaper
-s, --sort string sort by for results, valid sorts: date_added, relevance, random, views, favorites, searchlist. (default "toplist")
```
if you want to have access to NSFW wallpapers make sure to set WH_API_KEY
categories:
|0|0|0|
|-|-|-|
|general|anime|people|
purity:
|0|0|0|
|-|-|-|
|sfw|sketchy|nsfw|