Skip to content
This repository was archived by the owner on Jul 25, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (20 loc) · 578 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 578 Bytes

wallhaven-tag-downloader

🔍 Wallpaper Downloader from wallhaven.cc (by specific tag)

Run

gem install bundle
bundle install
bundle exec ruby main.rb

Before running the program, need to edit a file settings.json

 "api": "<your_key>",
 "categories": "<number>" \\ 100/101/111 (general/anime/people)
 "purity": "<number>" \\ 100/110/111 (sfw/sketchy/nsfw)
 "sorting": "<sorting>" \\ date_added/relevance/random/views/favorites/toplist
 "order": "<order>" \\ desc/asc
 "resolution": "<your_resolution>"
 "tag": "<tag_to_search>"

Requirements

  • ruby-2.7.0