naughty-videos
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Method Description Params Return
static newVideos gets videos from the home page [page: number] Promise<Video[]>
static bestVideos gets videos from the "best" tab [page: number] Promise<Video[]>
static verifiedVideos gets videos from the "verified" tab [page: number] Promise<Video[]>
static search searches for videos query: string [page: number] Promise<Video[]>
static taggedVideos gets videos containing a specific tag tag: string [page: number] Promise<Video[]>
static tags gets all available tags Promise<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.

Package Sidebar

Install

npm i naughty-videos

Weekly Downloads

7

Version

1.0.2

License

MIT

Unpacked Size

8.88 kB

Total Files

12

Last publish

Collaborators

  • wictornogueira