Adapted Aylo scraper for Bang Bros.

This commit is contained in:
DebaucheryLibrarian 2024-06-30 03:27:57 +02:00
parent 188d67e8eb
commit f11a009395
5 changed files with 294 additions and 20 deletions

View File

@ -164,6 +164,9 @@ const networks = [
url: 'https://bangbros.com', url: 'https://bangbros.com',
description: 'Here at Bang Bros, we only film the best highest quality porn with the sexiest Amateur girls and the top pornstars. Updated daily on Bangbros.com.', description: 'Here at Bang Bros, we only film the best highest quality porn with the sexiest Amateur girls and the top pornstars. Updated daily on Bangbros.com.',
parent: 'wgcz', parent: 'wgcz',
parameters: {
preferSpartanId: true,
},
}, },
{ {
slug: 'blowpass', slug: 'blowpass',

View File

@ -1042,6 +1042,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'ap', code: 'ap',
siteId: 115261,
}, },
}, },
{ {
@ -1054,6 +1055,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'av', code: 'av',
siteId: 115661,
}, },
}, },
{ {
@ -1066,6 +1068,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'brf', code: 'brf',
siteId: 115671,
}, },
}, },
{ {
@ -1078,6 +1081,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'mf', code: 'mf',
siteId: 115681,
}, },
}, },
{ {
@ -1090,6 +1094,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'es', code: 'es',
siteId: 116041,
}, },
}, },
{ {
@ -1102,6 +1107,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bbe', code: 'bbe',
siteId: 115151,
}, },
}, },
{ {
@ -1114,6 +1120,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bng', code: 'bng',
siteId: 115161,
}, },
}, },
{ {
@ -1126,6 +1133,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bbc', code: 'bbc',
siteId: 115171,
}, },
}, },
{ {
@ -1138,6 +1146,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'vault', code: 'vault',
siteId: 115181,
}, },
}, },
{ {
@ -1150,6 +1159,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'rm', code: 'rm',
siteId: 115701,
}, },
}, },
{ {
@ -1162,6 +1172,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bb', code: 'bb',
siteId: 115131,
}, },
}, },
{ {
@ -1174,6 +1185,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'hih', code: 'hih',
siteId: 115731,
}, },
}, },
{ {
@ -1186,6 +1198,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bpov', code: 'bpov',
siteId: 115741,
}, },
}, },
{ {
@ -1198,6 +1211,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bto', code: 'bto',
siteId: 115141,
}, },
}, },
{ {
@ -1210,6 +1224,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bmf', code: 'bmf',
siteId: 115211,
}, },
}, },
{ {
@ -1222,6 +1237,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'btcp', code: 'btcp',
siteId: 115221,
}, },
}, },
{ {
@ -1234,6 +1250,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'btra', code: 'btra',
siteId: 115751,
}, },
}, },
{ {
@ -1246,6 +1263,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bj', code: 'bj',
siteId: 115781,
}, },
}, },
{ {
@ -1258,6 +1276,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'aa', code: 'aa',
siteId: 115791,
}, },
}, },
{ {
@ -1270,6 +1289,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bs', code: 'bs',
siteId: 115811,
}, },
}, },
{ {
@ -1282,6 +1302,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bkb', code: 'bkb',
siteId: 115271,
}, },
}, },
{ {
@ -1294,6 +1315,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bd', code: 'bd',
siteId: 116311,
}, },
}, },
{ {
@ -1306,6 +1328,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'ca', code: 'ca',
siteId: 115831,
}, },
}, },
{ {
@ -1318,6 +1341,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'ch', code: 'ch',
siteId: 115311,
}, },
}, },
{ {
@ -1330,6 +1354,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'cff', code: 'cff',
siteId: 115711,
}, },
}, },
{ {
@ -1342,6 +1367,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bf', code: 'bf',
siteId: 115871,
}, },
}, },
{ {
@ -1354,6 +1380,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'di', code: 'di',
siteId: 115331,
}, },
}, },
{ {
@ -1366,6 +1393,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'ff', code: 'ff',
siteId: 115891,
}, },
}, },
{ {
@ -1378,6 +1406,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'bbw', code: 'bbw',
siteId: 116061,
}, },
}, },
{ {
@ -1390,6 +1419,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'ghl', code: 'ghl',
siteId: 116101,
}, },
}, },
{ {
@ -1402,6 +1432,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'lrp', code: 'lrp',
siteId: 116171,
}, },
}, },
{ {
@ -1414,6 +1445,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'lr', code: 'lr',
siteId: 116281,
}, },
}, },
{ {
@ -1426,6 +1458,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'fj', code: 'fj',
siteId: 116291,
}, },
}, },
{ {
@ -1438,6 +1471,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'ms', code: 'ms',
siteId: 116211,
}, },
}, },
{ {
@ -1450,6 +1484,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'mih', code: 'mih',
siteId: 116221,
}, },
}, },
{ {
@ -1462,6 +1497,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'mc', code: 'mc',
siteId: 116231,
}, },
}, },
{ {
@ -1474,6 +1510,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'ct', code: 'ct',
siteId: 116301,
}, },
}, },
{ {
@ -1486,6 +1523,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'mda', code: 'mda',
siteId: 115351,
}, },
}, },
{ {
@ -1498,6 +1536,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'mb', code: 'mb',
siteId: 115371,
}, },
}, },
{ {
@ -1510,6 +1549,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'blkg', code: 'blkg',
siteId: 115921,
}, },
}, },
{ {
@ -1522,10 +1562,11 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'ls', code: 'ls',
siteId: 115391,
}, },
}, },
{ {
name: 'Pawg', name: 'PAWG',
slug: 'pawg', slug: 'pawg',
alias: [ alias: [
'pwg', 'pwg',
@ -1534,6 +1575,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'pwg', code: 'pwg',
siteId: 115401,
}, },
}, },
{ {
@ -1546,6 +1588,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'ps', code: 'ps',
siteId: 115411,
}, },
}, },
{ {
@ -1558,6 +1601,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'pos', code: 'pos',
siteId: 115441,
}, },
}, },
{ {
@ -1570,6 +1614,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'pm', code: 'pm',
siteId: 115461,
}, },
}, },
{ {
@ -1582,6 +1627,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'pb', code: 'pb',
siteId: 115501,
}, },
}, },
{ {
@ -1594,6 +1640,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'swg', code: 'swg',
siteId: 115981,
}, },
}, },
{ {
@ -1606,6 +1653,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'smv', code: 'smv',
siteId: 115541,
}, },
}, },
{ {
@ -1614,10 +1662,11 @@ const sites = [
alias: [ alias: [
'sg', 'sg',
], ],
url: 'https://bangbros.com/websites/thewheeler', url: 'https://bangbros.com/websites/streetranger',
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'sg', code: 'sg',
siteId: 115551,
}, },
}, },
{ {
@ -1630,6 +1679,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'hj', code: 'hj',
siteId: 115581,
}, },
}, },
{ {
@ -1642,6 +1692,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'lw', code: 'lw',
siteId: 115631,
}, },
}, },
{ {
@ -1654,6 +1705,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'ml', code: 'ml',
siteId: 116201,
}, },
}, },
{ {
@ -1666,6 +1718,7 @@ const sites = [
parent: 'bangbros', parent: 'bangbros',
parameters: { parameters: {
code: 'ma', code: 'ma',
siteId: 115341,
}, },
}, },
// BANG BROS MEMBER SITES // BANG BROS MEMBER SITES

View File

@ -4,23 +4,59 @@ const bulkInsert = require('../src/utils/bulk-insert');
const affiliates = [ const affiliates = [
{ {
id: 'archangel_share', id: 'archangel',
channel: 'archangel', channel: 'archangel',
url: 'https://join.archangelvideo.com/track/MzQ3LjEuMS4xLjAuMC4wLjAuMA', url: 'https://join.archangelvideo.com/track/MzQ3LjEuMS4xLjAuMC4wLjAuMA',
comment: 'revshare', comment: 'revshare',
}, },
{ {
id: 'kink_params', id: 'kink',
network: 'kink', network: 'kink',
parameters: 't=eyJhZmZpbGlhdGUiOiJEZWJhdWNoZXJ5TGliIiwiY2FtcGFpZ24iOiJkZWZhdWx0IiwiYWdldmVyaWZpZWQiOiJ5In0', parameters: 't=eyJhZmZpbGlhdGUiOiJEZWJhdWNoZXJ5TGliIiwiY2FtcGFpZ24iOiJkZWZhdWx0IiwiYWdldmVyaWZpZWQiOiJ5In0',
comment: '50%', comment: '50%',
}, },
{ {
id: 'bang_signup', id: 'bang',
network: 'bang', network: 'bang',
parameters: 't=eyJhZmZpbGlhdGUiOiJEZWJhdWNoZXJ5TGliIiwiY2FtcGFpZ24iOiJkZWZhdWx0IiwiYWdldmVyaWZpZWQiOiJ5In0', parameters: 'aff=eyJ3IjoiMTQ1ODYiLCJsIjoiMzE2NDYiLCJ0IjoiNDU4NjEifQ==',
comment: '$25 per signup', comment: '$25 per signup',
}, },
{
id: 'allanal',
channel: 'allanal',
parameters: 'nats=OTczLjEuNS41LjAuMC4wLjAuMA',
comment: '50% rev share',
},
{
id: 'analonly',
channel: 'analonly',
parameters: 'nats=OTczLjEuNi4xMC4wLjAuMC4wLjA',
comment: '50% rev share',
},
{
id: 'dirtyauditions',
channel: 'dirtyauditions',
parameters: 'nats=OTczLjEuNy4xNC4wLjAuMC4wLjA',
comment: '50% rev share',
},
{
id: 'nympho',
channel: 'nympho',
parameters: 'nats=OTczLjEuNC40LjAuMC4wLjAuMA',
comment: '50% rev share',
},
{
id: 'swallowed',
channel: 'swallowed',
parameters: 'nats=OTczLjEuMS4xLjAuMC4wLjAuMA',
comment: '50% rev share',
},
{
id: 'trueanal',
channel: 'trueanal',
parameters: 'nats=OTczLjEuMy4zLjAuMC4wLjAuMA',
comment: '50% rev share',
},
]; ];
const bannerTags = { const bannerTags = {
@ -74,6 +110,13 @@ const bannerTags = {
hardcoregangbang_900_250_gloves_blonde: ['blowbang', 'blonde', 'bdsm'], hardcoregangbang_900_250_gloves_blonde: ['blowbang', 'blonde', 'bdsm'],
hardcoregangbang_1000_100: ['gangbang', 'mfm', 'bdsm'], hardcoregangbang_1000_100: ['gangbang', 'mfm', 'bdsm'],
// mike adriano // mike adriano
allanal_1323_270_24: ['anal', 'mff', 'threesome'],
allanal_300_250_14: ['anal', 'mff', 'threesome'],
allanal_300_250_15: ['anal', 'mff', 'threesome'],
allanal_315_300_3: ['anal'],
allanal_728_90_23: ['anal', 'mff', 'threesome'],
allanal_970_170_11: ['anal', 'mff', 'threesome'],
allanal_970_90_12: ['anal', 'mff', 'threesome'],
analonly_1200_90_26: ['anal'], analonly_1200_90_26: ['anal'],
analonly_1323_270_10: ['anal', 'gaping'], analonly_1323_270_10: ['anal', 'gaping'],
analonly_300_250_9: ['anal'], analonly_300_250_9: ['anal'],
@ -81,6 +124,17 @@ const bannerTags = {
analonly_728_90_25: ['anal', 'gaping'], analonly_728_90_25: ['anal', 'gaping'],
analonly_914_424_13: ['anal', 'gaping'], analonly_914_424_13: ['anal', 'gaping'],
analonly_980_170_8: ['anal', 'gaping'], analonly_980_170_8: ['anal', 'gaping'],
nympho_1024_280: ['sex'],
nympho_285_165: ['sex'],
nympho_299_243: ['pussy-eating'],
nympho_300_250: ['sex'],
nympho_488_300: ['sex'],
nympho_640_100: ['sex', 'ass-eating'],
nympho_668_80: ['sex', 'blowjob', 'pussy-eating'],
nympho_685_75: ['sex', 'blowjob', 'pussy-eating'],
nympho_770_76: ['sex', 'blowjob', 'ass-eating', 'pussy-eating'],
nympho_935_250: ['sex', 'blowjob', 'ass-eating'],
nympho_960_75: ['sex', 'blowjob', 'ass-eating', 'pussy-eating'],
swallowed_1323_270: ['blowjob'], swallowed_1323_270: ['blowjob'],
swallowed_285_165: ['blowjob'], swallowed_285_165: ['blowjob'],
swallowed_300_250_4: ['blowjob'], swallowed_300_250_4: ['blowjob'],
@ -89,6 +143,14 @@ const bannerTags = {
swallowed_770_76: ['blowjob'], swallowed_770_76: ['blowjob'],
swallowed_850_80: ['blowjob'], swallowed_850_80: ['blowjob'],
swallowed_980_170: ['blowjob'], swallowed_980_170: ['blowjob'],
trueanal_300_100_2: ['anal'],
trueanal_300_250: ['anal', 'gaping'],
trueanal_315_300: ['anal', 'gaping'],
trueanal_685_75: ['anal', 'gaping'],
trueanal_728_90: ['anal'],
trueanal_850_80: ['anal', 'gaping'],
trueanal_970_170: ['anal', 'gaping'],
trueanal_970_90_2: ['anal', 'gaping'],
// aylo // aylo
aylo_728_90_gay: ['gay'], aylo_728_90_gay: ['gay'],
// teenmegaworld // teenmegaworld
@ -237,18 +299,18 @@ const campaigns = [
/* NATS license expired /* NATS license expired
{ {
channel: 'archangel', channel: 'archangel',
affiliate: 'archangel_share', affiliate: 'archangel',
}, },
{ {
channel: 'archangel', channel: 'archangel',
affiliate: 'archangel_share', affiliate: 'archangel',
banner: 'archangel_970_90_kendra_lust', banner: 'archangel_970_90_kendra_lust',
}, },
*/ */
// bang // bang
{ {
network: 'bang', network: 'bang',
affiliate: 'bang_signup', affiliate: 'bang',
comment: 'per signup', comment: 'per signup',
}, },
// brazzers // brazzers
@ -406,7 +468,7 @@ const campaigns = [
// kink // kink
{ {
network: 'kink', network: 'kink',
affiliate: 'kink_params', affiliate: 'kink',
comment: '50%', comment: '50%',
}, },
{ {
@ -513,6 +575,48 @@ const campaigns = [
comment: '$25 per signup', comment: '$25 per signup',
}, },
// mike adriano // mike adriano
{
banner: 'allanal_300_250_14',
channel: 'allanal',
url: 'https://access.allanal.com/track/OTczLjEuNS41LjAuNDcwNDQuMC4wLjA',
comment: '50% rev share',
},
{
banner: 'allanal_300_250_15',
channel: 'allanal',
url: 'https://access.allanal.com/track/OTczLjEuNS41LjAuNDcwNDQuMC4wLjA',
comment: '50% rev share',
},
{
banner: 'allanal_315_300_3',
channel: 'allanal',
url: 'https://access.allanal.com/track/OTczLjEuNS41LjAuNDcwNDQuMC4wLjA',
comment: '50% rev share',
},
{
banner: 'allanal_728_90_23',
channel: 'allanal',
url: 'https://access.allanal.com/track/OTczLjEuNS41LjAuNDcwNDQuMC4wLjA',
comment: '50% rev share',
},
{
banner: 'allanal_970_90_12',
channel: 'allanal',
url: 'https://access.allanal.com/track/OTczLjEuNS41LjAuNDcwNDQuMC4wLjA',
comment: '50% rev share',
},
{
banner: 'allanal_970_170_11',
channel: 'allanal',
url: 'https://access.allanal.com/track/OTczLjEuNS41LjAuNDcwNDQuMC4wLjA',
comment: '50% rev share',
},
{
banner: 'allanal_1323_270_24',
channel: 'allanal',
url: 'https://access.allanal.com/track/OTczLjEuNS41LjAuNDcwNDQuMC4wLjA',
comment: '50% rev share',
},
{ {
banner: 'analonly_300_250_9', banner: 'analonly_300_250_9',
channel: 'analonly', channel: 'analonly',
@ -555,6 +659,72 @@ const campaigns = [
url: 'https://access.analonly.com/track/OTczLjEuNi4xMC4wLjQ3NTQ3LjAuMC4w', url: 'https://access.analonly.com/track/OTczLjEuNi4xMC4wLjQ3NTQ3LjAuMC4w',
comment: '50% rev share', comment: '50% rev share',
}, },
{
banner: 'nympho_285_165',
channel: 'nympho',
url: 'https://access.nympho.com/track/OTczLjEuNC40LjAuNDY2My4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'nympho_299_243',
channel: 'nympho',
url: 'https://access.nympho.com/track/OTczLjEuNC40LjAuNDY2My4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'nympho_300_250',
channel: 'nympho',
url: 'https://access.nympho.com/track/OTczLjEuNC40LjAuNDY2My4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'nympho_488_300',
channel: 'nympho',
url: 'https://access.nympho.com/track/OTczLjEuNC40LjAuNDY2My4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'nympho_640_100',
channel: 'nympho',
url: 'https://access.nympho.com/track/OTczLjEuNC40LjAuNDY2My4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'nympho_668_80',
channel: 'nympho',
url: 'https://access.nympho.com/track/OTczLjEuNC40LjAuNDY2My4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'nympho_685_75',
channel: 'nympho',
url: 'https://access.nympho.com/track/OTczLjEuNC40LjAuNDY2My4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'nympho_770_76',
channel: 'nympho',
url: 'https://access.nympho.com/track/OTczLjEuNC40LjAuNDY2My4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'nympho_935_250',
channel: 'nympho',
url: 'https://access.nympho.com/track/OTczLjEuNC40LjAuNDY2My4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'nympho_960_75',
channel: 'nympho',
url: 'https://access.nympho.com/track/OTczLjEuNC40LjAuNDY2My4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'nympho_1024_280',
channel: 'nympho',
url: 'https://access.nympho.com/track/OTczLjEuNC40LjAuNDY2My4wLjAuMA',
comment: '50% rev share',
},
{ {
banner: 'swallowed_285_165', banner: 'swallowed_285_165',
channel: 'swallowed', channel: 'swallowed',
@ -603,6 +773,54 @@ const campaigns = [
url: 'https://access.swallowed.com/track/OTczLjEuMS4xLjAuMjg3Ny4wLjAuMA', url: 'https://access.swallowed.com/track/OTczLjEuMS4xLjAuMjg3Ny4wLjAuMA',
comment: '50% rev share', comment: '50% rev share',
}, },
{
banner: 'trueanal_300_100_2',
channel: 'trueanal',
url: 'https://access.trueanal.com/track/OTczLjEuMy4zLjAuMjkxMi4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'trueanal_300_250',
channel: 'trueanal',
url: 'https://access.trueanal.com/track/OTczLjEuMy4zLjAuMjkxMi4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'trueanal_315_300',
channel: 'trueanal',
url: 'https://access.trueanal.com/track/OTczLjEuMy4zLjAuMjkxMi4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'trueanal_685_75',
channel: 'trueanal',
url: 'https://access.trueanal.com/track/OTczLjEuMy4zLjAuMjkxMi4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'trueanal_728_90',
channel: 'trueanal',
url: 'https://access.trueanal.com/track/OTczLjEuMy4zLjAuMjkxMi4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'trueanal_850_80',
channel: 'trueanal',
url: 'https://access.trueanal.com/track/OTczLjEuMy4zLjAuMjkxMi4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'trueanal_970_90_2',
channel: 'trueanal',
url: 'https://access.trueanal.com/track/OTczLjEuMy4zLjAuMjkxMi4wLjAuMA',
comment: '50% rev share',
},
{
banner: 'trueanal_970_170',
channel: 'trueanal',
url: 'https://access.trueanal.com/track/OTczLjEuMy4zLjAuMjkxMi4wLjAuMA',
comment: '50% rev share',
},
// aylo // aylo
{ {
network: 'aylo', network: 'aylo',

View File

@ -72,9 +72,9 @@ function getVideos(data) {
return { teaser, trailer }; return { teaser, trailer };
} }
function scrapeLatestX(data, site, filterChannel) { function scrapeLatestX(data, site, filterChannel, options) {
const release = { const release = {
entryId: data.id, entryId: (options?.parameters.preferSpartanId && data.spartanId) || data.id,
title: data.title, title: data.title,
description: data.description, description: data.description,
}; };
@ -116,8 +116,8 @@ function scrapeLatestX(data, site, filterChannel) {
return release; return release;
} }
async function scrapeLatest(items, site, filterChannel) { async function scrapeLatest(items, site, filterChannel, options) {
const latestReleases = items.map((data) => scrapeLatestX(data, site, filterChannel)); const latestReleases = items.map((data) => scrapeLatestX(data, site, filterChannel, options));
return { return {
scenes: latestReleases.filter((scene) => !scene.exclude), scenes: latestReleases.filter((scene) => !scene.exclude),
@ -125,12 +125,12 @@ async function scrapeLatest(items, site, filterChannel) {
}; };
} }
function scrapeRelease(data, url, channel, networkName) { function scrapeRelease(data, url, channel, networkName, options) {
const release = {}; const release = {};
const { id: entryId, title, description } = data; const { id: entryId, title, description } = data;
release.entryId = data.id; release.entryId = (options?.parameters.preferSpartanId && data.spartanId) || data.id;
release.title = title; release.title = title;
release.description = description; release.description = description;
@ -321,7 +321,7 @@ async function fetchLatest(site, page = 1, options) {
}); });
if (res.status === 200 && res.body.result) { if (res.status === 200 && res.body.result) {
return scrapeLatest(res.body.result, site); return scrapeLatest(res.body.result, site, false, options);
} }
return res.statusCode; return res.statusCode;
@ -346,7 +346,7 @@ async function fetchUpcoming(site, page, options) {
}); });
if (res.statusCode === 200 && res.body.result) { if (res.statusCode === 200 && res.body.result) {
return scrapeLatest(res.body.result, site, true); return scrapeLatest(res.body.result, site, true, options);
} }
return res.statusCode; return res.statusCode;
@ -373,7 +373,7 @@ async function fetchRelease(url, site, baseScene, options) {
if (res.status === 200 && res.body.result) { if (res.status === 200 && res.body.result) {
return { return {
scene: scrapeRelease(res.body.result, url, site), scene: scrapeRelease(res.body.result, url, site, null, options),
}; };
} }

View File

@ -88,7 +88,7 @@ const scrapers = {
badoink, badoink,
bamvisions, bamvisions,
bang, bang,
bangbros, bangbros: aylo,
bluedonkeymedia, bluedonkeymedia,
bradmontana, bradmontana,
brazzers: aylo, brazzers: aylo,