All Projects → rodrigogs → xvideos

rodrigogs / xvideos

Licence: BSD-3-Clause license
xvideos API library

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to xvideos

VideoDownloader
更流畅更便捷的下载动作片
Stars: ✭ 44 (-73.33%)
Mutual labels:  xvideos
Axgle
Avgle Android Client using Avgle v1 api
Stars: ✭ 101 (-38.79%)
Mutual labels:  porn
gosquito
gosquito ("go" + "mosquito") is a pluggable tool for data gathering, data processing and data transmitting to various destinations.
Stars: ✭ 25 (-84.85%)
Mutual labels:  scrapper
stweet
Advanced python library to scrap Twitter (tweets, users) from unofficial API
Stars: ✭ 287 (+73.94%)
Mutual labels:  scrapper
waifu-generator
Let's pick up your favorite waifu just from the API
Stars: ✭ 31 (-81.21%)
Mutual labels:  scrapper
kodi-repo-gaymods
Kodi Repo Gay Mods
Stars: ✭ 77 (-53.33%)
Mutual labels:  porn
iris
Repositório oficial da BOT Íris, uma robô em português, inglês e espanhol para WhatsApp [Com MD/Sem MD], possui centenas de comandos diferentes, a lista vai de fazer stickers a jogar xadrez ou blackjack.
Stars: ✭ 166 (+0.61%)
Mutual labels:  porn
SigTools
📆 Sigarra Tools | An extension that makes the information system of the University of Porto slightly better.
Stars: ✭ 35 (-78.79%)
Mutual labels:  scrapper
accomplist
ACCOMPLIST - List Compiler
Stars: ✭ 51 (-69.09%)
Mutual labels:  porn
fatec-api
API for SIGA from Centro Paula Souza made for students to create things based in their profile data
Stars: ✭ 47 (-71.52%)
Mutual labels:  scrapper
Spider
💫 Spider is a PHP library with easily module integration for crawling website that allows you to scrape informations.
Stars: ✭ 14 (-91.52%)
Mutual labels:  scrapper
pornhosts
Pornhosts a hosts-file formatted file of the RPZ zone file
Stars: ✭ 33 (-80%)
Mutual labels:  porn
meta-fetcher
Simple metadata scrapper for node.js
Stars: ✭ 137 (-16.97%)
Mutual labels:  scrapper
shopee-inventory-bot
"I Make dropshiper's job easier" ~ Python Shopee Inventory Bot
Stars: ✭ 21 (-87.27%)
Mutual labels:  scrapper
pddcat
🐈 NSFW. Organise your porn download directory.
Stars: ✭ 42 (-74.55%)
Mutual labels:  porn
porn-description-generator
Generates new porn descriptions based on an edited dataset of xhamster video descriptions uploaded between 2007-2016.
Stars: ✭ 40 (-75.76%)
Mutual labels:  porn
Porn-Organizer
A simple porn organizer for your porn videos. NextJS & SQL
Stars: ✭ 19 (-88.48%)
Mutual labels:  porn
h-player-web
资源采集站在线播放
Stars: ✭ 16 (-90.3%)
Mutual labels:  porn
Instagram-to-discord
Monitor instagram user account and automatically post new images to discord channel via a webhook. Working 2022!
Stars: ✭ 113 (-31.52%)
Mutual labels:  scrapper
laravel-block-bots
Block crawlers and high traffic users on your site by IP using Redis
Stars: ✭ 25 (-84.85%)
Mutual labels:  scrapper

xvideos

Build Status Code Climate Test Coverage

A a Node.js xvideos.com API library.

Install

$ npm install @rodrigogs/xvideos

Usage

const xvideos = require('@rodrigogs/xvideos');

//-- Inside an async function --//

// Retrieve fresh videos
const fresh = await xvideos.videos.fresh({ page: 1 });
console.log(fresh.videos); // { url, path, title, duration, profile: { name, url }, views, }
console.log(fresh.pagination.current); // 1 
console.log(fresh.pagination.pages); // [1, 2, 3, 4, 5...]
console.log(fresh.hasNext()); // true
console.log(fresh.hasPrevious()); // false

const nextPage = await fresh.next();
console.log(nextPage.pagination.current); // 2
console.log(nextPage.hasNext()); // true
console.log(nextPage.hasPrevious()); // true

const previousPage = await fresh.previous();
console.log(previousPage.pagination.current); // 1
console.log(previousPage.hasNext()); // true
console.log(previousPage.hasPrevious()); // tfalse

const detail = await xvideos.videos.details(fresh.videos[0]); /**
{
  title,
  duration,
  image,
  videoType,
  videoWidth,
  videoHeigth,
  views,
  files: {
    low,
    high,
    HLS,
    thumb,
    thumb69,
    thumbSlide,
    thumbSlideBig
  }
} **/

API

  • Retrieve dashboard videos

    const dashboardList = await xvideos.videos.dashboard({ page: 1 });
    • Is there a next page?
      console.log(deshboardList.hasNext()); // true or false
    • Is there a previous page?
      console.log(deshboardList.hasPrevious()); // true or false
    • Refresh page videos
      const refreshedVideos = await deshboardList.refresh();
    • Retrieve next deshboard page videos
      const nextVideos = await deshboardList.next();
    • Retrieve previous deshboard page videos
      const previousVideos = await deshboardList.previous();
  • Retrieve fresh videos

    const freshList = await xvideos.videos.fresh({ page: 1 });
    • Is there a next page?
      console.log(freshList.hasNext()); // true or false
    • Is there a previous page?
      console.log(freshList.hasPrevious()); // true or false
    • Refresh page videos
      const refreshedVideos = await freshList.refresh();
    • Retrieve next fresh page videos
      const nextVideos = await freshList.next();
    • Retrieve previous fresh page videos
      const previousVideos = await freshList.previous();
  • Retrieve best videos

    const bestList = await xvideos.videos.best({ year: '2018', month: '02', page: 1 });
    • Is there a next page?
      console.log(bestList.hasNext()); // true or false
    • Is there a previous page?
      console.log(bestList.hasPrevious()); // true or false
    • Refresh page videos
      const refreshedVideos = await bestList.refresh();
    • Retrieve next best page videos
      const nextVideos = await bestList.next();
    • Retrieve previous best page videos
      const previousVideos = await bestList.previous();
  • Retrieve verified videos

    const verifiedList = await xvideos.videos.verified({ page: 1 });
    • Is there a next page?
      console.log(verifiedList.hasNext()); // true or false
    • Is there a previous page?
      console.log(verifiedList.hasPrevious()); // true or false
    • Refresh page videos
      const refreshedVideos = await verifiedList.refresh();
    • Retrieve next verified page videos
      const nextVideos = await verifiedList.next();
    • Retrieve previous verified page videos
      const previousVideos = await verifiedList.previous();
  • Retrieve video details

    const details = await xvideos.videos.details({ url: 'https://www.xvideos.com/video36638661/chaturbate_lulacum69_30-05-2018' });
  • Filter videos

    const videos = await xvideos.videos.search({ k: 'threesome' });
    const videos = await xvideos.videos.search({ k: 'public', page: 5 });
    • Is there a next page?
      console.log(videos.hasNext()); // true or false
    • Is there a previous page?
      console.log(videos.hasPrevious()); // true or false
    • Refresh page videos
      const refreshedVideos = await videos.refresh();
    • Retrieve next verified page videos
      const nextVideos = await videos.next();
    • Retrieve previous verified page videos
      const previousVideos = await videos.previous();

License

Licence © Rodrigo Gomes da Silva

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].