Compare commits
2 Commits
971cda1cb5
...
49405b953f
Author | SHA1 | Date |
---|---|---|
|
49405b953f | |
|
be5dd4acd8 |
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.80.4",
|
"version": "1.80.5",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.80.4",
|
"version": "1.80.5",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
const argv = require('../argv');
|
||||||
const { fetchLatest, fetchApiLatest, fetchUpcoming, fetchApiUpcoming, fetchScene, fetchProfile, fetchApiProfile } = require('./gamma');
|
const { fetchLatest, fetchApiLatest, fetchUpcoming, fetchApiUpcoming, fetchScene, fetchProfile, fetchApiProfile } = require('./gamma');
|
||||||
|
|
||||||
function extractLowArtActors(release) {
|
function extractLowArtActors(release) {
|
||||||
|
@ -42,12 +43,16 @@ async function networkFetchUpcoming(site, page = 1) {
|
||||||
return fetchUpcoming(site, page);
|
return fetchUpcoming(site, page);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getActorReleasesUrl(actorPath, page = 1) {
|
||||||
|
return `https://www.peternorth.com/en/videos/All-Categories/0${actorPath}/All-Dvds/0/latest/${page}`;
|
||||||
|
}
|
||||||
|
|
||||||
async function networkFetchProfile(actorName) {
|
async function networkFetchProfile(actorName) {
|
||||||
// not all Fame Digital sites offer Gamma actors
|
// not all Fame Digital sites offer Gamma actors
|
||||||
const [devils, rocco, peter] = await Promise.all([
|
const [devils, rocco, peter] = await Promise.all([
|
||||||
fetchApiProfile(actorName, 'devilsfilm', true),
|
fetchApiProfile(actorName, 'devilsfilm', true),
|
||||||
fetchApiProfile(actorName, 'roccosiffredi'),
|
fetchApiProfile(actorName, 'roccosiffredi'),
|
||||||
fetchProfile(actorName, 'peternorth', true),
|
argv.withReleases ? fetchProfile(actorName, 'peternorth', true, getActorReleasesUrl) : [],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (devils || rocco || peter) {
|
if (devils || rocco || peter) {
|
||||||
|
|
Loading…
Reference in New Issue