Package Exports
- porn-x
 - porn-x/src/index.js
 
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (porn-x) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
  
    
⏲️ Version 1.0.54
- ✅ | Fixed "search" function.
 
- ✅ | Added a new site to get videos
 
- ✅ | Extended the results of "getWallpaper"
 
- ✅ | Fixed getWallpaper images
 
Prerequisites 🎀
NodeJS 16+
 
Features 📣
- ✨ Get information about a porn star via their name only.
 
- 📻 Able to search videos of your favorite pornstar.
 
- 🎈 Get complete information about a porn scene.and many more!
 
- 🎗️ and many more!
 
❔Installation
$ npm install porn-x
🪗 Usage/Examples
import { Client, BaseCollection } from "porn-x";
const client = new Client(); // Creating a new instance.
(async () => {
  const result = await client.getGif("Alison Tyler");
  console.log(result);
})();
🎉 Output
{
  results: 75,
  gifs: [
    'https://dl.phncdn.com/gif/13476792.gif',
    'https://dl.phncdn.com/gif/16197072.gif',
    'https://el.phncdn.com/gif/32148161.gif',
    'https://dl.phncdn.com/pics/gifs/029/516/581/(m=ldpwiqacxtE_Ai)(mh=WDU8edZ52bgTD0TY)29516581b.gif',
    'https://dl.phncdn.com/gif/10401922.gif',
    'https://dl.phncdn.com/gif/18181001.gif',
    'https://dl.phncdn.com/pics/gifs/005/197/841/(m=ldpwiqacxtE_Ai)(mh=o5QbIuPPL5aMG9f-)5197841b.gif',
    'https://el.phncdn.com/gif/24686431.gif',
    'https://el.phncdn.com/pics/gifs/004/840/191/(m=ldpwiqacxtE_Ai)(mh=WDL7dBDbwwy_yCB2)4840191b.gif',
    'https://dl.phncdn.com/pics/gifs/024/683/181/(m=ldpwiqacxtE_Ai)(mh=v3b6Q28pvBaBPuAy)24683181b.gif',
    'https://el.phncdn.com/pics/gifs/005/798/351/(m=ldpwiqacxtE_Ai)(mh=t-dUEfFNVKC5tJ33)5798351b.gif',
  ]
  ... 30 more items
}
🧧 Using CJS?
NodeJS 16+
$ npm install porn-ximport { Client, BaseCollection } from "porn-x";
const client = new Client(); // Creating a new instance.
(async () => {
  const result = await client.getGif("Alison Tyler");
  console.log(result);
})();
{
  results: 75,
  gifs: [
    'https://dl.phncdn.com/gif/13476792.gif',
    'https://dl.phncdn.com/gif/16197072.gif',
    'https://el.phncdn.com/gif/32148161.gif',
    'https://dl.phncdn.com/pics/gifs/029/516/581/(m=ldpwiqacxtE_Ai)(mh=WDU8edZ52bgTD0TY)29516581b.gif',
    'https://dl.phncdn.com/gif/10401922.gif',
    'https://dl.phncdn.com/gif/18181001.gif',
    'https://dl.phncdn.com/pics/gifs/005/197/841/(m=ldpwiqacxtE_Ai)(mh=o5QbIuPPL5aMG9f-)5197841b.gif',
    'https://el.phncdn.com/gif/24686431.gif',
    'https://el.phncdn.com/pics/gifs/004/840/191/(m=ldpwiqacxtE_Ai)(mh=WDL7dBDbwwy_yCB2)4840191b.gif',
    'https://dl.phncdn.com/pics/gifs/024/683/181/(m=ldpwiqacxtE_Ai)(mh=v3b6Q28pvBaBPuAy)24683181b.gif',
    'https://el.phncdn.com/pics/gifs/005/798/351/(m=ldpwiqacxtE_Ai)(mh=t-dUEfFNVKC5tJ33)5798351b.gif',
  ]
  ... 30 more items
}
Using commonJS but still want to use the module? It's easy. You only have to install a single module which is fix-esm.
CJS Example
require("fix-esm").register();
// Your code will actually begin from here.
const { Client, BaseCollection, Platform } = require("porn-x");
const collection = new BaseCollection();
// Rest is just the same as esm.
(async () => {
  const wallpapers = await getWallpaper("Alison Tyler");
  console.log(wallpapers);
})();
async function getPictures(query) {
  const data = await client.getPictures("Alison Tyler");
  return data;
}
async function getWallpaper(query) {
  const result = collection.getWallpaper(query);
  return result;
}Classes
- Client
 - BaseCollection
 
Methods
Initializing Client
import { Client } from "porn-x";
const client = new Client();client.search()
| Parameter | Type | Description | 
|---|---|---|
| query | string | The query to look for, it can wether be a star-name or could be a specific type. | 
| opts | object | options for search (all keys are optional) | 
Usage example:
client.search("Alison tyler").then((res) => console.log(res));client.getGif()
| Parameter | Type | Description | 
|---|---|---|
| query | string | Personally, i don't suggest using this function. There are high possibilities, you might not get what response you're looking for. Though it's not deprecated. | 
Usage example:
client.getGif("Alison tyler").then((res) => console.log(res));client.getImages()
| Parameter | Type | Description | 
|---|---|---|
| query | string | Get a bunch pictures of a star. | 
Usage example:
client.getImages("Alison tyler").then((res) => console.log(res));client.getImagesFromId()
| Parameter | Type | Description | 
|---|---|---|
| id | string | Get more images of a specific image id. | 
| opts | object | options for search (all keys are optional) | 
Usage example:
client
  .getImagesFromId("9d529e03aab6972650db6a4cdf37fdeb")
  .then((res) => console.log(res));client.getPictures()
| Parameter | Type | Description | 
|---|---|---|
| name | string | Name of a specific porn-star. | 
| opts | object | options for search (all keys are optional) | 
Usage example:
client.getPictures("Alison Tyler").then((res) => console.log(res));client.getInformation()
| Parameter | Type | Description | 
|---|---|---|
| name | string | Get information about a porn-star (female). | 
Usage example:
client.getInformation("Alison tyler").then((res) => console.log(res));client.getShortVideos()
| Parameter | Type | Description | 
|---|---|---|
| query | string | Name of a specific porn-star. | 
| opts | object | options for search (all keys are optional) | 
Usage example:
client.getShortVideos("Alison tyler").then((res) => console.log(res));client.searchScene()
| Parameter | Type | Description | 
|---|---|---|
| name | string | Name of a specific porn-star. | 
Usage example:
client.searchScene("Alison tyler").then((res) => console.log(res));client.getScene()
| Parameter | Type | Description | 
|---|---|---|
| href | string | The specific href of the scene | 
Usage example:
client
  .getScene("/video/115039/fabulous-boobs-2/")
  .then((res) => console.log(res));client.getStarScenes()
| Parameter | Type | Description | 
|---|---|---|
| query | string | The name of a porn-star to get all of their scenes (till now) | 
Usage example:
client
  .getStarScenes("/video/115039/fabulous-boobs-2/")
  .then((res) => console.log(res));client.searchGif()
| Parameter | Type | Description | 
|---|---|---|
| query | string | The nsfw gif you want to search for. | 
| opts | object | options for search (all keys are optional) | 
Usage example:
client.searchGif("Blowjob").then((res) => console.log(res));Initializing BaseCollection (Collection)
import { BaseCollection as Collection } from "porn-x";
const collection = new Collection();Methods
collection.getWallpaper()
Solutions:
- Resolution & Image quality
 - This function returns a array of wallpapers of a specific pornStar, however there are some cons.
 - The image quality is mediocre, though if you want to save a picture in high level quality you need to manually follow some steps.
 
- Increase size of the picture, you can do this by heading over to ImageEnlarger
 
- Drop the image/Upload the image
 - Choose the zoom factor to 2.5
 - Select the filter "Lanczos3" (recommended) and download it.
 
- Clear the photo/Make the photo sharpen, head over to PicWish
 
- Drag and drop the picture & wait for it to removed all the blurry particle.
 - Once it's done simply download it.
 
| Parameter | Type | Description | 
|---|---|---|
| query | string | The name of the porn-star (female) | 
Usage example:
collection.getWallpaper("Alison tyler").then((res) => console.log(res));collection.getRandomWallpaper()
| Parameter | Type | Description | 
|---|---|---|
| platform | Platform | 
Specify the platform for which you want the random wallpaper to be. | 
Usage example:
import { Platform } from "porn-x";
collection.getRandomWallpaper(Platform.DESKTOP).then((res) => console.log(res));collection.getHentaiWallpaper()
Usage example:
collection.getHentaiWallpaper().then((res) => console.log(res));collection.getRandomImage()
Usage example:
collection.getRandomImage().then((res) => console.log(res));