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,
|
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
|
// etc
|
||||||
{
|
{
|
||||||
network: 'bang',
|
network: 'bang',
|
||||||
|
|
@ -1021,9 +1043,12 @@ exports.seed = async (knex) => {
|
||||||
const nameTags = banner.split(/-(.*)/)[1]?.split('_');
|
const nameTags = banner.split(/-(.*)/)[1]?.split('_');
|
||||||
const tags = [...nameTags || [], ...bannerTags[banner] || []];
|
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)
|
const affiliate = affiliates.find((aff) => aff.id === affiliateId)
|
||||||
|| affiliates.find((aff) => aff.channel === channel)
|
|| affiliates.find((aff) => aff.channel === resolvedChannel)
|
||||||
|| affiliates.find((aff) => aff.network === network);
|
|| affiliates.find((aff) => aff.network === resolvedNetwork);
|
||||||
|
|
||||||
if (!affiliate) {
|
if (!affiliate) {
|
||||||
console.warn('UNMATCHED AFFILIATE', file);
|
console.warn('UNMATCHED AFFILIATE', file);
|
||||||
|
|
@ -1031,8 +1056,8 @@ exports.seed = async (knex) => {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
file,
|
file,
|
||||||
network: network === 'banners' ? channel : network,
|
network: resolvedNetwork,
|
||||||
channel: network === 'banners' ? null : channel,
|
channel: resolvedChannel,
|
||||||
affiliateId,
|
affiliateId,
|
||||||
affiliate: getAffiliateId(affiliate),
|
affiliate: getAffiliateId(affiliate),
|
||||||
banner,
|
banner,
|
||||||
|
|
|
||||||
|
|
@ -235,6 +235,7 @@ const actors = [
|
||||||
{ entity: 'nebraskacoeds', name: 'Mary Beth Haglin', fields: ['avatar'] }, // sic
|
{ entity: 'nebraskacoeds', name: 'Mary Beth Haglin', fields: ['avatar'] }, // sic
|
||||||
{ entity: 'firstanalquest', name: 'Abigaile Johnson', fields: ['avatar', 'dateOfBirth', 'birthPlace', 'weight', 'height', 'measurements'] }, // 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: 'doubleviewcasting', name: 'Abigaile Johnson', fields: ['avatar', 'dateOfBirth', 'birthPlace', 'weight', 'height', 'measurements'] }, // sic
|
||||||
|
{ entity: 'boobpedia', name: 'Paige British', fields: ['avatar'] }, // sic
|
||||||
];
|
];
|
||||||
|
|
||||||
const actorScrapers = scrapers.actors;
|
const actorScrapers = scrapers.actors;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue