Added Fabulous Cash sites.

This commit is contained in:
DebaucheryLibrarian 2023-04-06 01:28:59 +02:00
parent 5448100b3b
commit 54b1c03a8d
95 changed files with 156 additions and 24 deletions

View File

@ -89,18 +89,6 @@ function initEntitiesActions(store, router) {
offset: $offset offset: $offset
orderBy: $orderBy orderBy: $orderBy
filter: { filter: {
or: [
{
date: {
isNull: ${entityType !== 'network'}
}
}
{
date: {
isNull: false
}
}
]
effectiveDate: { effectiveDate: {
lessThan: $before, lessThan: $before,
greaterThan: $after greaterThan: $after

14
package-lock.json generated
View File

@ -79,7 +79,7 @@
"tunnel": "0.0.6", "tunnel": "0.0.6",
"ua-parser-js": "^1.0.32", "ua-parser-js": "^1.0.32",
"undici": "^4.13.0", "undici": "^4.13.0",
"unprint": "^0.8.1", "unprint": "^0.8.2",
"url-pattern": "^1.0.3", "url-pattern": "^1.0.3",
"v-tooltip": "^2.0.3", "v-tooltip": "^2.0.3",
"video.js": "^7.11.4", "video.js": "^7.11.4",
@ -17025,9 +17025,9 @@
} }
}, },
"node_modules/unprint": { "node_modules/unprint": {
"version": "0.8.1", "version": "0.8.2",
"resolved": "https://registry.npmjs.org/unprint/-/unprint-0.8.1.tgz", "resolved": "https://registry.npmjs.org/unprint/-/unprint-0.8.2.tgz",
"integrity": "sha512-6cF2LgIpc7JEBBXWs/CmJgFBAPmvM5NuD3tDvmnnmZR+wrEF03TNR5kv08iPTV/GhT8EHPhZM3LSd8eRipkWdA==", "integrity": "sha512-mCKPDPwtuECbXJJLQbDn2FFbydr6fLKytyS3pymbxcTh2dkk7NFypMjR7qjU2Uv9Fl91hSE48SjYMsWHNKpp4w==",
"dependencies": { "dependencies": {
"axios": "^0.27.2", "axios": "^0.27.2",
"bottleneck": "^2.19.5", "bottleneck": "^2.19.5",
@ -31483,9 +31483,9 @@
"integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
}, },
"unprint": { "unprint": {
"version": "0.8.1", "version": "0.8.2",
"resolved": "https://registry.npmjs.org/unprint/-/unprint-0.8.1.tgz", "resolved": "https://registry.npmjs.org/unprint/-/unprint-0.8.2.tgz",
"integrity": "sha512-6cF2LgIpc7JEBBXWs/CmJgFBAPmvM5NuD3tDvmnnmZR+wrEF03TNR5kv08iPTV/GhT8EHPhZM3LSd8eRipkWdA==", "integrity": "sha512-mCKPDPwtuECbXJJLQbDn2FFbydr6fLKytyS3pymbxcTh2dkk7NFypMjR7qjU2Uv9Fl91hSE48SjYMsWHNKpp4w==",
"requires": { "requires": {
"axios": "^0.27.2", "axios": "^0.27.2",
"bottleneck": "^2.19.5", "bottleneck": "^2.19.5",

View File

@ -138,7 +138,7 @@
"tunnel": "0.0.6", "tunnel": "0.0.6",
"ua-parser-js": "^1.0.32", "ua-parser-js": "^1.0.32",
"undici": "^4.13.0", "undici": "^4.13.0",
"unprint": "^0.8.1", "unprint": "^0.8.2",
"url-pattern": "^1.0.3", "url-pattern": "^1.0.3",
"v-tooltip": "^2.0.3", "v-tooltip": "^2.0.3",
"video.js": "^7.11.4", "video.js": "^7.11.4",

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -250,6 +250,12 @@ const networks = [
url: 'https://dogfartnetwork.com', url: 'https://dogfartnetwork.com',
description: 'The world famous Dogfart Interracial series. Online since 1996, we have the largest collection of Interracial videos, pictures and content on the web.', description: 'The world famous Dogfart Interracial series. Online since 1996, we have the largest collection of Interracial videos, pictures and content on the web.',
}, },
{
slug: 'fabulouscash',
name: 'Fabulous Cash',
hasLogo: false,
url: 'https://fabulouscash.com',
},
{ {
slug: 'fantasymassage', slug: 'fantasymassage',
name: 'Fantasy Massage', name: 'Fantasy Massage',
@ -679,6 +685,7 @@ exports.seed = (knex) => Promise.resolve()
alias: network.alias, alias: network.alias,
url: network.url, url: network.url,
description: network.description, description: network.description,
has_logo: network.hasLogo,
parameters: network.parameters, parameters: network.parameters,
parent_id: grandParentNetworksBySlug[network.parent] || null, parent_id: grandParentNetworksBySlug[network.parent] || null,
})); }));
@ -693,6 +700,7 @@ exports.seed = (knex) => Promise.resolve()
alias: network.alias, alias: network.alias,
url: network.url, url: network.url,
description: network.description, description: network.description,
has_logo: network.hasLogo,
parameters: network.parameters, parameters: network.parameters,
parent_id: parentNetworksBySlug[network.parent] || grandParentNetworksBySlug[network.parent] || null, parent_id: parentNetworksBySlug[network.parent] || grandParentNetworksBySlug[network.parent] || null,
})); }));

View File

@ -3345,6 +3345,57 @@ const sites = [
scene: 'https://www.evilangel.com/en/video', scene: 'https://www.evilangel.com/en/video',
}, },
}, },
// FABULOUS CASH
{
slug: 'manojob',
name: 'Mano Job',
url: 'https://www.manojob.com',
tags: ['handjob'],
alias: ['maj'],
independent: true,
parent: 'fabulouscash',
},
{
slug: 'thedicksuckers',
name: 'The Dick Suckers',
url: 'https://www.thedicksuckers.com',
alias: ['tds'],
independent: true,
parent: 'fabulouscash',
},
{
slug: 'finishesthejob',
name: 'Finishes The Job',
url: 'https://www.finishesthejob.com',
independent: true,
parent: 'fabulouscash',
},
{
slug: 'mrpov',
name: 'Mr. POV',
url: 'https://www.mrpov.com',
tags: ['pov'],
independent: true,
parent: 'fabulouscash',
},
{
slug: 'nowayamigay',
name: 'No Way Am I Gay',
url: 'http://www.nowayamigay.com',
parent: 'fabulouscash',
parameters: {
layout: 'legacy',
},
},
{
slug: 'chelcifox',
name: 'Chelci Fox',
url: 'http://www.chelcifox.com',
parent: 'fabulouscash',
parameters: {
layout: 'legacy',
},
},
// FAKE HUB // FAKE HUB
{ {
slug: 'fakeagentuk', slug: 'fakeagentuk',

79
src/scrapers/fabulouscash.js Executable file
View File

@ -0,0 +1,79 @@
'use strict';
const unprint = require('unprint');
function scrapeAll(scenes) {
return scenes.map(({ query, element }, channel) => {
const release = {};
release.url = query.url('a');
release.entryId = new URL(release.url).pathname.match(/\/scene\/\w+\/([\w-]+)/)[1];
release.title = query.content('.name');
release.actors = query.all('.performers a').map((actorEl) => ({
name: unprint.query.content(actorEl, null).trim(),
url: unprint.query.url(actorEl, null, 'href'),
}));
const poster = query.img('img[itemprop="thumbnailUrl"]');
const photo = poster.replace('featured.jpg', 'trailer.jpg');
release.poster = [
poster,
photo,
];
release.photos = [photo];
release.teaser = unprint.prefixUrl(element.dataset.video, channel.url);
release.stars = query.number('.rating span');
return release;
});
}
function scrapeScene({ query }, { url, entity }) {
const release = {};
release.entryId = new URL(url).pathname.match(/\/scene\/\w+\/([\w-]+)/)[1];
release.title = query.content('.container h1');
release.description = query.content('//p[contains(text(), "Categories")]/following-sibling::p');
release.actors = query.all('//h3[contains(text(), "Starring")]/a').map((actorEl) => ({
name: unprint.query.content(actorEl, null).trim(),
url: unprint.query.url(actorEl, null, 'href'),
}));
const photo = query.poster('.container video', { origin: entity.url });
release.poster = [
photo.replace('trailer.jpg', 'featured.jpg'),
photo,
];
release.photos = [photo];
release.trailer = query.video();
release.tags = query.contents('//p[contains(text(), "Categories")]/a');
return release;
}
async function fetchLatest(channel, page = 1) {
const url = `${channel.url}/updates/${page}`;
const res = await unprint.get(url, { selectAll: '.card.scene' });
if (res.ok) {
return scrapeAll(res.context, channel);
}
return res.status;
}
module.exports = {
fetchLatest,
scrapeScene,
useUnprint: true,
};

View File

@ -17,6 +17,7 @@ const czechav = require('./czechav');
const ddfnetwork = require('./ddfnetwork'); const ddfnetwork = require('./ddfnetwork');
const dogfart = require('./dogfart'); const dogfart = require('./dogfart');
const dorcel = require('./dorcel'); const dorcel = require('./dorcel');
const fabulouscash = require('./fabulouscash');
const famedigital = require('./famedigital'); const famedigital = require('./famedigital');
const firstanalquest = require('./firstanalquest'); const firstanalquest = require('./firstanalquest');
const elevatedx = require('./elevatedx'); const elevatedx = require('./elevatedx');
@ -97,6 +98,7 @@ const scrapers = {
elegantangel: adultempire, elegantangel: adultempire,
famedigital, famedigital,
exploitedx: elevatedx, exploitedx: elevatedx,
fabulouscash,
firstanalquest, firstanalquest,
forbondage: porndoe, forbondage: porndoe,
fullpornnetwork, fullpornnetwork,

View File

@ -21,6 +21,7 @@ async function pgSettings(req) {
// console.log(PgAggregatesPlugin); // console.log(PgAggregatesPlugin);
/*
const TagsAggregatePlugin = (builder) => { const TagsAggregatePlugin = (builder) => {
builder.hook('build', (build) => { builder.hook('build', (build) => {
const pgAggregateSpecs = [ const pgAggregateSpecs = [
@ -29,8 +30,8 @@ const TagsAggregatePlugin = (builder) => {
humanLabel: 'tags', humanLabel: 'tags',
HumanLabel: 'Tags', HumanLabel: 'Tags',
sqlAggregateWrap: (sqlFrag) => { sqlAggregateWrap: (sqlFrag) => {
console.log('sql frag', sqlFrag); // console.log('sql frag', sqlFrag);
return build.pgSql.fragment`sum(${sqlFrag})`; return build.pgSql.fragment`select tag_id from tags where release_id = ${sqlFrag}`;
}, },
isSuitableType: (pgType) => { isSuitableType: (pgType) => {
// console.log('pg type', pgType); // console.log('pg type', pgType);
@ -39,9 +40,12 @@ const TagsAggregatePlugin = (builder) => {
}, },
]; ];
build.pgAggregateSpecs = pgAggregateSpecs; // eslint-disable-line no-param-reassign build.pgAggregateGroupBySpecs = pgAggregateSpecs; // eslint-disable-line no-param-reassign
return build;
}); });
}; };
*/
module.exports = postgraphile( module.exports = postgraphile(
connectionString, connectionString,
@ -69,7 +73,7 @@ module.exports = postgraphile(
...SitePlugins, ...SitePlugins,
...ReleasePlugins, ...ReleasePlugins,
...MediaPlugins, ...MediaPlugins,
TagsAggregatePlugin, // TagsAggregatePlugin,
], ],
pgSettings, pgSettings,
}, },