wallhaven_dl/README.md

37 lines
1.3 KiB
Markdown
Raw Normal View History

2023-10-24 19:04:44 +00:00
# wallhaven_dl
2024-07-20 17:47:55 +00:00
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) :)
2023-10-24 19:04:44 +00:00
```
Usage:
2023-10-24 19:52:26 +00:00
wallhaven_dl search [flags]
2023-10-24 19:04:44 +00:00
Aliases:
2023-10-24 19:52:26 +00:00
search, s
2023-10-24 19:04:44 +00:00
Flags:
--at-least string minimum resolution for results. (default "2560x1440")
2023-10-24 19:52:26 +00:00
-c, --categories string categories for the search. (default "010")
-d, --download-path string directory to download the image too
-h, --help help for search
2023-10-24 19:04:44 +00:00
-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")
2023-10-24 19:52:26 +00:00
-p, --purity string purity for the search. (default "110")
-r, --range string range for search. (default "1y")
2023-10-24 19:04:44 +00:00
--ratios strings ratios to search for. (default [16x9,16x10])
-t, --script string script to run after downloading the wallpaper
2023-10-24 19:52:26 +00:00
-s, --sort string sort by for results, valid sorts: date_added, relevance, random, views, favorites, searchlist. (default "toplist")
2023-10-24 19:04:44 +00:00
```
2023-10-25 04:06:07 +00:00
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|