Added Tonight's Girlfriend tracking link.
This commit is contained in:
parent
e5d457bd55
commit
f0a2943687
|
|
@ -190,14 +190,20 @@ const affiliates = [
|
|||
url: 'https://enter.spermswallowers.com/track/Mzk3MS4yLjUuMTMuMC4wLjAuMC4w',
|
||||
comment: '$30 per signup',
|
||||
},
|
||||
// etc
|
||||
// naughty america
|
||||
{
|
||||
id: 'naughtyamerica',
|
||||
network: 'naughtyamerica',
|
||||
url: 'https://natour.naughtyamerica.com/track/MTIzODIxLjEwMDI1LjguOC4wLjEwNzU2MTcuMC4wLjA',
|
||||
parameters: 'nats=MTIzODIxLjEwMDI1LjguOC4wLjEwNzU2MTcuMC4wLjA',
|
||||
comment: 'pay per sign-up',
|
||||
},
|
||||
{
|
||||
id: 'tonightsgirlfriend',
|
||||
channel: 'tonightsgirlfriend',
|
||||
url: 'https://enter.tonightsgirlfriend.com/track/MTIzODIxLjEwMDI1LjU4LjgwLjAuMC4wLjAuMA',
|
||||
comment: 'pay per sign-up',
|
||||
},
|
||||
// etc
|
||||
{
|
||||
id: 'archangel',
|
||||
channel: 'archangel',
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ const { argv } = yargs
|
|||
.option('scene', {
|
||||
describe: 'Scrape scene info from URL',
|
||||
type: 'array',
|
||||
alias: 'scenes',
|
||||
})
|
||||
.option('scene-file', {
|
||||
describe: 'Scrape scene info from URLs in a file',
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@ async function fetchUpcoming(channel, _page, { parameters }) {
|
|||
*/
|
||||
|
||||
async function fetchScene(sceneUrl, entity, _baseRelease, { parameters }) {
|
||||
// deep data not identical, contains photoset and full trailer
|
||||
const slug = new URL(sceneUrl).pathname.match(/\/trailers\/(.*?)\.html/)[1];
|
||||
const url = `${entity.origin.replace('www.', 'api.')}/v1/content-sets/${slug}`;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue