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