1.0.22 • Published 2 years ago

reddit-wallpaper-links v1.0.22

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Reddit Wallpaper Links is a JavaScript package that can fetch bulk wallpapers. Supports node.

  • Bulk wallpapers
  • Lightweight <20KB

The code is based on Reddit Image Fetcher

Table of contents

Installation

Install via NPM

npm install reddit-wallpaper-links

Usage

const redditWallpaperLinks = require("reddit-wallpaper-links") 

redditWallpaperLinks.GetPosts({
subreddit:'AnimeWallpaperSFW',
limit:5,
flair:  'Mobile',
}).then(result => {console.log(result)})

Sample Response

[
  {
    author: 'JomarXXV',
    url: 'https://i.redd.it/3qiyu003pbs81.png',
    source: 'AnimeWallpapersSFW',
    type: 'Mobile'
  },
  {
    author: 'seyjer',
    url: 'https://i.redd.it/lbucqqw3obs81.png',
    source: 'AnimeWallpapersSFW',
    type: 'Mobile'
  },
  {
    author: 'JomarXXV',
    url: 'https://i.redd.it/2fmvc43365s81.png',
    source: 'AnimeWallpapersSFW',
    type: 'Mobile'
  }
]

Options

PropertyTypeDescriptionDefault
subredditstringName of the subreddit.AnimeWallpapersSFW
limitnumberHow many images to get. Max is 503
flairstring'Mobile''Mobile'

Supported subreddits

  • r/AnimeWallpaperSFW
  • r/AnimeWallpapersSFW

Features missing

  • get it working on desktop flair as well
  • get more detail about posts
  • add filters to the posts
  • get more than 100 posts
  • work on other subreddits

License

Reddit Image Knight is licensed under the MIT License.

1.0.22

2 years ago

1.0.21

2 years ago

1.0.2

2 years ago

1.0.12

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago