Compare commits

..

No commits in common. "c8671afe470f5703960dc151bf8436dcbead9c51" and "c882862af64cdfe8a8b64ac0e47ff469b9d6d2bb" have entirely different histories.

8 changed files with 6 additions and 39 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.72.0",
"version": "1.71.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.72.0",
"version": "1.71.1",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 928 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

View File

@ -6,7 +6,7 @@ const tagPosters = Object.entries({
'da-tp': [0, 'Natasha Teen in LegalPorno SZ2164'],
'double-anal': [2, 'Lana Rhoades in "Gangbang Me 3" for HardX'],
'double-penetration': ['poster', 'Mia Malkova in "DP!" for HardX'],
'double-vaginal': [0, 'Aaliyah Hadid in "Squirting From Double Penetration With Anal" for Bang Bros'],
'double-vaginal': ['poster'],
'dv-tp': ['poster', 'Juelz Ventura in "Gangbanged 5" for Elegant Angel'],
'oral-creampie': [1, 'Keisha Grey in Brazzers House'],
'triple-anal': ['poster', 'Kristy Black in SZ1986 for LegalPorno'],
@ -54,7 +54,6 @@ const tagPhotos = [
['double-anal', 0, 'Nicole Black doing double anal during a gangbang in GIO971 for LegalPorno'],
['double-anal', 1, 'Ria Sunn in SZ1801 for LegalPorno'],
['double-penetration', 0],
['double-vaginal', 'poster', 'Riley Reid in "Pizza That Ass" for Reid My Lips'],
['dv-tp', 1, 'Adriana Chechik in "Adriana\'s Triple Anal Penetration!"'],
['dv-tp', 0, 'Luna Rival in LegalPorno SZ1490'],
['facefucking', '0', 'Brea for Young Throats'],

View File

@ -32,7 +32,6 @@ const { argv } = yargs
.option('with-releases', {
describe: 'Fetch all releases for an actor',
type: 'boolean',
alias: 'with-scenes',
default: false,
})
.option('scene', {

View File

@ -5,9 +5,6 @@ const bhttp = require('bhttp');
const cheerio = require('cheerio');
const moment = require('moment');
const slugify = require('../utils/slugify');
const { ex } = require('../utils/q');
function titleExtractor(pathname) {
const components = pathname.split('/')[2].split('-');
const entryId = components.slice(-1)[0];
@ -51,7 +48,7 @@ function scrapeLatest(html, site) {
});
}
function scrapeScene(html, url, site) {
async function scrapeScene(html, url, site) {
const $ = cheerio.load(html, { normalizeWhitespace: true });
const sceneElement = $('.scene-info');
@ -100,20 +97,6 @@ function scrapeScene(html, url, site) {
};
}
function scrapeProfile(html) {
const { q, qu } = ex(html);
const profile = {};
profile.description = q('.bio_about_text', true);
const avatar = q('img.performer-pic', 'src');
if (avatar) profile.avatar = `https:${avatar}`;
profile.releases = qu('.scene-item > a:first-child');
return profile;
}
async function fetchLatest(site, page = 1) {
const res = await bhttp.get(`${site.url}?page=${page}`);
@ -126,20 +109,7 @@ async function fetchScene(url, site) {
return scrapeScene(res.body.toString(), url, site);
}
async function fetchProfile(actorName) {
const actorSlug = slugify(actorName);
const res = await bhttp.get(`https://www.naughtyamerica.com/pornstar/${actorSlug}`);
if (res.statusCode === 200) {
return scrapeProfile(res.body.toString());
}
return null;
}
module.exports = {
fetchLatest,
fetchScene,
fetchProfile,
};

View File

@ -17,6 +17,7 @@ const pornpros = require('./pornpros');
const privateNetwork = require('./private'); // reserved keyword
const puretaboo = require('./puretaboo');
const mindgeek = require('./mindgeek');
const naughtyamerica = require('./naughtyamerica');
const realitykings = require('./realitykings');
const teamskeet = require('./teamskeet');
const vixen = require('./vixen');
@ -33,7 +34,6 @@ const legalporno = require('./legalporno');
const men = require('./men');
const metrohd = require('./metrohd');
const mofos = require('./mofos');
const naughtyamerica = require('./naughtyamerica');
const twentyonesextury = require('./21sextury');
const xempire = require('./xempire');
@ -89,7 +89,6 @@ module.exports = {
mofos,
realitykings,
digitalplayground,
brazzers,
fakehub,
babes,
metrohd,
@ -100,7 +99,7 @@ module.exports = {
xempire,
blowpass,
julesjordan,
naughtyamerica,
brazzers,
boobpedia,
legalporno,
kellymadison,