Added AnalVids, Porn World and Private affiliate links.
This commit is contained in:
parent
c830c86c54
commit
2e1b5561dd
|
|
@ -706,6 +706,28 @@ const affiliates = [
|
|||
prefixSlash: false,
|
||||
},
|
||||
},
|
||||
// sexcash (analvids, private)
|
||||
{
|
||||
network: 'analvids',
|
||||
parameters: {
|
||||
query: 'aff=BW90MHT1DP', // supported
|
||||
},
|
||||
comment: '50% rev share',
|
||||
},
|
||||
{
|
||||
network: 'private',
|
||||
parameters: {
|
||||
query: 'aff=BW90MHT1DP', // supported
|
||||
},
|
||||
comment: '50% rev share',
|
||||
},
|
||||
{
|
||||
network: 'pornworld',
|
||||
parameters: {
|
||||
query: 'aff=BW90MHT1DP', // supported
|
||||
},
|
||||
comment: '50% rev share',
|
||||
},
|
||||
// etc
|
||||
{
|
||||
network: 'bang',
|
||||
|
|
@ -1021,9 +1043,12 @@ exports.seed = async (knex) => {
|
|||
const nameTags = banner.split(/-(.*)/)[1]?.split('_');
|
||||
const tags = [...nameTags || [], ...bannerTags[banner] || []];
|
||||
|
||||
const resolvedNetwork = network === 'banners' ? channel : network;
|
||||
const resolvedChannel = network === 'banners' ? null : channel;
|
||||
|
||||
const affiliate = affiliates.find((aff) => aff.id === affiliateId)
|
||||
|| affiliates.find((aff) => aff.channel === channel)
|
||||
|| affiliates.find((aff) => aff.network === network);
|
||||
|| affiliates.find((aff) => aff.channel === resolvedChannel)
|
||||
|| affiliates.find((aff) => aff.network === resolvedNetwork);
|
||||
|
||||
if (!affiliate) {
|
||||
console.warn('UNMATCHED AFFILIATE', file);
|
||||
|
|
@ -1031,8 +1056,8 @@ exports.seed = async (knex) => {
|
|||
|
||||
return {
|
||||
file,
|
||||
network: network === 'banners' ? channel : network,
|
||||
channel: network === 'banners' ? null : channel,
|
||||
network: resolvedNetwork,
|
||||
channel: resolvedChannel,
|
||||
affiliateId,
|
||||
affiliate: getAffiliateId(affiliate),
|
||||
banner,
|
||||
|
|
|
|||
|
|
@ -235,6 +235,7 @@ const actors = [
|
|||
{ entity: 'nebraskacoeds', name: 'Mary Beth Haglin', fields: ['avatar'] }, // sic
|
||||
{ entity: 'firstanalquest', name: 'Abigaile Johnson', fields: ['avatar', 'dateOfBirth', 'birthPlace', 'weight', 'height', 'measurements'] }, // sic
|
||||
{ entity: 'doubleviewcasting', name: 'Abigaile Johnson', fields: ['avatar', 'dateOfBirth', 'birthPlace', 'weight', 'height', 'measurements'] }, // sic
|
||||
{ entity: 'boobpedia', name: 'Paige British', fields: ['avatar'] }, // sic
|
||||
];
|
||||
|
||||
const actorScrapers = scrapers.actors;
|
||||
|
|
|
|||
Loading…
Reference in New Issue