lamecksilva / WallhavenDownload

Script for download and save wallpapers from wallhaven url

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WallhavenDownload

App/Script to download RANDOM wallpapers from wallhaven.cc

Instalation

$ git clone https://github.com/lamecksilva/WallhavenDownload.git
$ cd WallhavenDownload/
$ npm i

Example

$ node index
https://wallhaven.cc/w/838gyk
Old File Deleted
Starting Download
Download done

OBS:

To run with cron in Arch Linux / Manjaro:

$ crontab -e

and in the editor, add:

*/1 * * * * cd /home/$USER/WallhavenDownload && /usr/bin/node index.js

I Need put all my env variables in crontab file, and it works.
I need test for discover the necessary variable :)

Check the WallhavenDownload/downloads folder and voilà 😜

Feel free to make pr's and contact me

Thanks

About

Script for download and save wallpapers from wallhaven url


Languages

Language:JavaScript 100.0%