Compare commits
2 Commits
e5d457bd55
...
ef1984664d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef1984664d | ||
|
|
f0a2943687 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.246.5",
|
||||
"version": "1.246.6",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "traxxx",
|
||||
"version": "1.246.5",
|
||||
"version": "1.246.6",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.458.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.246.5",
|
||||
"version": "1.246.6",
|
||||
"description": "All the latest porn releases in one place",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -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}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user