1.0.2 • Published 3 years ago

naughty-videos v1.0.2

Weekly downloads
4
License
MIT
Repository
-
Last release
3 years ago

Naughty Videos

An API for naughty websites ¯\_( ͡° ͜ʖ ͡°)_

Why?

Well, it all started as an internal joke, and then I decided to make it real for no real reason ¯\_(ツ)_

API

Class Xvideos

MethodDescriptionParamsReturn
static newVideosgets videos from the home pagepage: numberPromise<Video[]>
static bestVideosgets videos from the "best" tabpage: numberPromise<Video[]>
static verifiedVideosgets videos from the "verified" tabpage: numberPromise<Video[]>
static searchsearches for videosquery: string page: numberPromise<Video[]>
static taggedVideosgets videos containing a specific tagtag: string page: numberPromise<Video[]>
static tagsgets all available tagsPromise<string[]>

Installation

  npm install naughty-videos

Example

  const { Xvideos } = require('naughty-videos')

  Xvideos.search('example').then(console.log)

Disclaimer

This weird module is not associated with any of the supported websites.

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago