Added Aylo and MindGeek profile tests, updated site configuration.
This commit is contained in:
parent
3767fc8bfe
commit
6705607f67
|
|
@ -358,6 +358,7 @@ const networks = [
|
||||||
description: 'Watch and download thousands of the best porn videos at FameDigital.com, the largest porn network on the web! The hottest teens, MILFs and more pornstars are all here!',
|
description: 'Watch and download thousands of the best porn videos at FameDigital.com, the largest porn network on the web! The hottest teens, MILFs and more pornstars are all here!',
|
||||||
parameters: {
|
parameters: {
|
||||||
mobile: 'https://m.dpfanatics.com/en/video',
|
mobile: 'https://m.dpfanatics.com/en/video',
|
||||||
|
layout: 'api',
|
||||||
},
|
},
|
||||||
parent: 'gamma',
|
parent: 'gamma',
|
||||||
},
|
},
|
||||||
|
|
@ -794,6 +795,9 @@ const networks = [
|
||||||
url: 'https://www.vivid.com',
|
url: 'https://www.vivid.com',
|
||||||
description: 'Home of the Kim Kardashian Sex Tape, Porn Parodies, and over 30,000 XXX Movies from The World Leader In Adult Entertainment.',
|
description: 'Home of the Kim Kardashian Sex Tape, Porn Parodies, and over 30,000 XXX Movies from The World Leader In Adult Entertainment.',
|
||||||
parent: 'gamma',
|
parent: 'gamma',
|
||||||
|
parameters: {
|
||||||
|
layout: 'api',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
slug: 'vixen',
|
slug: 'vixen',
|
||||||
|
|
@ -827,7 +831,7 @@ const networks = [
|
||||||
slug: 'zerotolerance',
|
slug: 'zerotolerance',
|
||||||
name: 'Zero Tolerance',
|
name: 'Zero Tolerance',
|
||||||
alias: ['ztod'],
|
alias: ['ztod'],
|
||||||
url: 'http://www.ztod.com',
|
url: 'https://www.zerotolerancefilms.com',
|
||||||
parameters: {
|
parameters: {
|
||||||
layout: 'api',
|
layout: 'api',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -568,18 +568,6 @@ const sites = [
|
||||||
},
|
},
|
||||||
*/
|
*/
|
||||||
// ADULT TIME INDEPENDENT
|
// ADULT TIME INDEPENDENT
|
||||||
{
|
|
||||||
name: 'Blake Mason',
|
|
||||||
slug: 'blakemason',
|
|
||||||
url: 'https://www.blakemason.com',
|
|
||||||
parent: 'gamma',
|
|
||||||
tags: ['gay'],
|
|
||||||
independent: true,
|
|
||||||
parameters: {
|
|
||||||
layout: 'api',
|
|
||||||
referer: 'https://freetour.adulttime.com/en/join',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'ChaosMen',
|
name: 'ChaosMen',
|
||||||
slug: 'chaosmen',
|
slug: 'chaosmen',
|
||||||
|
|
@ -975,6 +963,7 @@ const sites = [
|
||||||
independent: true,
|
independent: true,
|
||||||
parameters: {
|
parameters: {
|
||||||
scene: 'https://www.gangbangcreampie.com/en/video/gangbangcreampie',
|
scene: 'https://www.gangbangcreampie.com/en/video/gangbangcreampie',
|
||||||
|
layout: 'api',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -986,6 +975,7 @@ const sites = [
|
||||||
independent: true,
|
independent: true,
|
||||||
parameters: {
|
parameters: {
|
||||||
scene: 'https://www.gloryholesecrets.com/en/video/gloryholesecrets',
|
scene: 'https://www.gloryholesecrets.com/en/video/gloryholesecrets',
|
||||||
|
layout: 'api',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
/* different layout
|
/* different layout
|
||||||
|
|
@ -998,6 +988,7 @@ const sites = [
|
||||||
independent: true,
|
independent: true,
|
||||||
parameters: {
|
parameters: {
|
||||||
scene: 'https://www.portagloryhole.com/scenes',
|
scene: 'https://www.portagloryhole.com/scenes',
|
||||||
|
layout: 'api',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
*/
|
*/
|
||||||
|
|
@ -3949,7 +3940,6 @@ const sites = [
|
||||||
name: 'Devil\'s Film',
|
name: 'Devil\'s Film',
|
||||||
url: 'https://www.devilsfilm.com',
|
url: 'https://www.devilsfilm.com',
|
||||||
description: 'Welcome to the best porn network, DevilsFilm.com, featuring teens, MILFs, trans and interracial porn with all of your favorite pornstars in 4k ultra HD!',
|
description: 'Welcome to the best porn network, DevilsFilm.com, featuring teens, MILFs, trans and interracial porn with all of your favorite pornstars in 4k ultra HD!',
|
||||||
parameters: { api: true },
|
|
||||||
parent: 'famedigital',
|
parent: 'famedigital',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -3969,7 +3959,10 @@ const sites = [
|
||||||
url: 'https://www.daringsexhd.com/',
|
url: 'https://www.daringsexhd.com/',
|
||||||
description: 'Welcome the official Daring Sex site, home of high quality erotica, sensual porn and hardcore exploration of the darker side of sexuality. Here you will find a variety of videos for lovers looking for a bit of extra, or something darker with an element of control.',
|
description: 'Welcome the official Daring Sex site, home of high quality erotica, sensual porn and hardcore exploration of the darker side of sexuality. Here you will find a variety of videos for lovers looking for a bit of extra, or something darker with an element of control.',
|
||||||
parent: 'famedigital',
|
parent: 'famedigital',
|
||||||
parameters: { api: true },
|
parameters: {
|
||||||
|
api: true,
|
||||||
|
layout: null,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
slug: 'peternorth',
|
slug: 'peternorth',
|
||||||
|
|
@ -3987,7 +3980,6 @@ const sites = [
|
||||||
name: 'Rocco Siffredi',
|
name: 'Rocco Siffredi',
|
||||||
url: 'https://www.roccosiffredi.com',
|
url: 'https://www.roccosiffredi.com',
|
||||||
description: 'Welcome to the official RoccoSiffredi.com, the Italian Stallion, with hardcore anal fucking and rough sex from the man himself who has coined the term hardcore.',
|
description: 'Welcome to the official RoccoSiffredi.com, the Italian Stallion, with hardcore anal fucking and rough sex from the man himself who has coined the term hardcore.',
|
||||||
parameters: { api: true },
|
|
||||||
parent: 'famedigital',
|
parent: 'famedigital',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4994,6 +4986,14 @@ const sites = [
|
||||||
name: 'InTheCrack',
|
name: 'InTheCrack',
|
||||||
url: 'https://inthecrack.com',
|
url: 'https://inthecrack.com',
|
||||||
},
|
},
|
||||||
|
// TODO: INDIE https://nats.indiebucks.com/external.php?page=sites
|
||||||
|
{
|
||||||
|
// used to be Gamma
|
||||||
|
name: 'Blake Mason',
|
||||||
|
slug: 'blakemason',
|
||||||
|
url: 'https://www.blakemason.com',
|
||||||
|
tags: ['gay'],
|
||||||
|
},
|
||||||
// INN OF SIN
|
// INN OF SIN
|
||||||
{
|
{
|
||||||
slug: 'richardmannevents',
|
slug: 'richardmannevents',
|
||||||
|
|
|
||||||
|
|
@ -624,7 +624,7 @@ async function scrapeProfile({ query }, url, actorName, _siteSlug, getActorRelea
|
||||||
|
|
||||||
profile.description = query.cnt('.actorBio p:not(.bioTitle)');
|
profile.description = query.cnt('.actorBio p:not(.bioTitle)');
|
||||||
|
|
||||||
if (hair) profile.hair = hair.split(':')[1].trim();
|
if (hair) profile.hairColor = hair.split(':')[1].trim();
|
||||||
if (height) profile.height = Number(height.match(/\d+/)[0]);
|
if (height) profile.height = Number(height.match(/\d+/)[0]);
|
||||||
if (weight) profile.weight = Number(weight.match(/\d+/)[0]);
|
if (weight) profile.weight = Number(weight.match(/\d+/)[0]);
|
||||||
if (alias) profile.aliases = alias.split(':')[1].trim().split(', ');
|
if (alias) profile.aliases = alias.split(':')[1].trim().split(', ');
|
||||||
|
|
@ -648,7 +648,7 @@ function scrapeApiProfile(data, releases, siteSlug) {
|
||||||
|
|
||||||
if (data.attributes.ethnicity) profile.ethnicity = data.attributes.ethnicity;
|
if (data.attributes.ethnicity) profile.ethnicity = data.attributes.ethnicity;
|
||||||
if (data.attributes.eye_color) profile.eyes = data.attributes.eye_color;
|
if (data.attributes.eye_color) profile.eyes = data.attributes.eye_color;
|
||||||
if (data.attributes.hair_color) profile.hair = data.attributes.hair_color;
|
if (data.attributes.hair_color) profile.hairColor = data.attributes.hair_color;
|
||||||
|
|
||||||
const avatarPaths = Object.values(data.pictures).reverse();
|
const avatarPaths = Object.values(data.pictures).reverse();
|
||||||
if (avatarPaths.length > 0) profile.avatar = avatarPaths.map((avatarPath) => `https://images01-evilangel.gammacdn.com/actors${avatarPath}`);
|
if (avatarPaths.length > 0) profile.avatar = avatarPaths.map((avatarPath) => `https://images01-evilangel.gammacdn.com/actors${avatarPath}`);
|
||||||
|
|
@ -929,7 +929,8 @@ async function fetchApiProfile({ name: actorName }, context, include) {
|
||||||
const siteSlug = context.entity.slug || context.site?.slug || context.network?.slug;
|
const siteSlug = context.entity.slug || context.site?.slug || context.network?.slug;
|
||||||
|
|
||||||
const actorSlug = encodeURI(actorName);
|
const actorSlug = encodeURI(actorName);
|
||||||
const referer = `https://www.${siteSlug}.com/en/search`;
|
// const referer = `https://www.${siteSlug}.com/en/search`;
|
||||||
|
const referer = `${new URL(context.entity.url).origin}/en/search`;
|
||||||
|
|
||||||
const { apiUrl } = await fetchApiCredentials(referer);
|
const { apiUrl } = await fetchApiCredentials(referer);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ const czechav = require('./czechav');
|
||||||
const modelmedia = require('./modelmedia');
|
const modelmedia = require('./modelmedia');
|
||||||
const dorcel = require('./dorcel');
|
const dorcel = require('./dorcel');
|
||||||
const fabulouscash = require('./fabulouscash');
|
const fabulouscash = require('./fabulouscash');
|
||||||
const famedigital = require('./famedigital');
|
// const famedigital = require('./famedigital');
|
||||||
const firstanalquest = require('./firstanalquest');
|
const firstanalquest = require('./firstanalquest');
|
||||||
const elevatedx = require('./elevatedx');
|
const elevatedx = require('./elevatedx');
|
||||||
const exploitedx = require('./exploitedx');
|
const exploitedx = require('./exploitedx');
|
||||||
|
|
@ -89,6 +89,10 @@ const freeones = require('./freeones');
|
||||||
|
|
||||||
const scrapers = {
|
const scrapers = {
|
||||||
releases: {
|
releases: {
|
||||||
|
// gamma
|
||||||
|
gamma,
|
||||||
|
// daringsex,
|
||||||
|
// etc
|
||||||
amateurallure,
|
amateurallure,
|
||||||
americanpornstar,
|
americanpornstar,
|
||||||
amateureuro: porndoe,
|
amateureuro: porndoe,
|
||||||
|
|
@ -114,13 +118,11 @@ const scrapers = {
|
||||||
delphine: modelmedia,
|
delphine: modelmedia,
|
||||||
dorcel,
|
dorcel,
|
||||||
elegantangel: adultempire,
|
elegantangel: adultempire,
|
||||||
famedigital,
|
|
||||||
exploitedx,
|
exploitedx,
|
||||||
fabulouscash,
|
fabulouscash,
|
||||||
firstanalquest,
|
firstanalquest,
|
||||||
forbondage: porndoe,
|
forbondage: porndoe,
|
||||||
fullpornnetwork,
|
fullpornnetwork,
|
||||||
gamma,
|
|
||||||
gaywire: aylo,
|
gaywire: aylo,
|
||||||
girlgirl: julesjordan,
|
girlgirl: julesjordan,
|
||||||
hitzefrei,
|
hitzefrei,
|
||||||
|
|
@ -220,9 +222,40 @@ const scrapers = {
|
||||||
transangels: aylo,
|
transangels: aylo,
|
||||||
trueamateurs: aylo,
|
trueamateurs: aylo,
|
||||||
twistys: aylo,
|
twistys: aylo,
|
||||||
|
// gamma
|
||||||
|
'21sextury': gamma,
|
||||||
|
biphoria: gamma,
|
||||||
|
blakemason: gamma,
|
||||||
|
blowpass: gamma,
|
||||||
|
burningangel: gamma,
|
||||||
|
chaosmen: gamma,
|
||||||
|
devilsfilm: gamma,
|
||||||
|
diabolic: gamma,
|
||||||
|
dogfartnetwork: gamma,
|
||||||
|
evilangel: gamma,
|
||||||
|
famedigital: gamma,
|
||||||
|
fantasymassage: gamma,
|
||||||
|
filthykings: gamma,
|
||||||
|
gangbangcreampie: gamma,
|
||||||
|
girlsway: gamma,
|
||||||
|
gloryholesecrets: gamma,
|
||||||
|
peternorth: gamma,
|
||||||
|
pridestudios: gamma,
|
||||||
|
puretaboo: gamma,
|
||||||
|
roccosiffredi: gamma,
|
||||||
|
silverstonedvd: gamma,
|
||||||
|
silviasaint: gamma,
|
||||||
|
tabooheat: gamma,
|
||||||
|
vivid: gamma,
|
||||||
|
whiteghetto: gamma,
|
||||||
|
wicked: gamma,
|
||||||
|
xempire: gamma,
|
||||||
|
zerotolerancefilms: gamma,
|
||||||
|
'3rddegreefilms': gamma,
|
||||||
|
addicted2girls: gamma,
|
||||||
|
genderxfilms: gamma,
|
||||||
// etc
|
// etc
|
||||||
'18vr': badoink,
|
'18vr': badoink,
|
||||||
'21sextury': gamma,
|
|
||||||
adultempire,
|
adultempire,
|
||||||
allanal: mikeadriano,
|
allanal: mikeadriano,
|
||||||
allherluv: missax,
|
allherluv: missax,
|
||||||
|
|
@ -252,25 +285,19 @@ const scrapers = {
|
||||||
boobpedia,
|
boobpedia,
|
||||||
bradmontana,
|
bradmontana,
|
||||||
brattysis: nubiles,
|
brattysis: nubiles,
|
||||||
burningangel: gamma,
|
|
||||||
cherrypimps,
|
cherrypimps,
|
||||||
cumlouder,
|
cumlouder,
|
||||||
deeplush: nubiles,
|
deeplush: nubiles,
|
||||||
devilsfilm: famedigital,
|
|
||||||
dirtyauditions: mikeadriano,
|
dirtyauditions: mikeadriano,
|
||||||
dogfartnetwork: gamma,
|
|
||||||
dorcelclub: dorcel,
|
dorcelclub: dorcel,
|
||||||
doubleviewcasting: firstanalquest,
|
doubleviewcasting: firstanalquest,
|
||||||
dtfsluts: fullpornnetwork,
|
dtfsluts: fullpornnetwork,
|
||||||
evilangel: gamma,
|
|
||||||
exploitedx, // only from known URL that will specify site
|
exploitedx, // only from known URL that will specify site
|
||||||
eyeontheguy: hush,
|
eyeontheguy: hush,
|
||||||
firstanalquest,
|
firstanalquest,
|
||||||
forbondage: porndoe,
|
forbondage: porndoe,
|
||||||
freeones,
|
freeones,
|
||||||
gangbangcreampie: gamma,
|
|
||||||
girlfaction: fullpornnetwork,
|
girlfaction: fullpornnetwork,
|
||||||
gloryholesecrets: gamma,
|
|
||||||
gotfilled: radical,
|
gotfilled: radical,
|
||||||
hergape: fullpornnetwork,
|
hergape: fullpornnetwork,
|
||||||
hitzefrei,
|
hitzefrei,
|
||||||
|
|
@ -316,7 +343,6 @@ const scrapers = {
|
||||||
pascalssubsluts,
|
pascalssubsluts,
|
||||||
pervcity,
|
pervcity,
|
||||||
pervertgallery: fullpornnetwork,
|
pervertgallery: fullpornnetwork,
|
||||||
peternorth: famedigital,
|
|
||||||
pierrewoodman,
|
pierrewoodman,
|
||||||
pimpxxx: cherrypimps,
|
pimpxxx: cherrypimps,
|
||||||
porncz,
|
porncz,
|
||||||
|
|
@ -328,13 +354,10 @@ const scrapers = {
|
||||||
purgatoryx,
|
purgatoryx,
|
||||||
realvr: badoink,
|
realvr: badoink,
|
||||||
rickysroom,
|
rickysroom,
|
||||||
roccosiffredi: famedigital,
|
|
||||||
sayuncle: teamskeet,
|
sayuncle: teamskeet,
|
||||||
score,
|
score,
|
||||||
seehimfuck: hush,
|
seehimfuck: hush,
|
||||||
sexlikereal,
|
sexlikereal,
|
||||||
silverstonedvd: famedigital,
|
|
||||||
silviasaint: famedigital,
|
|
||||||
spermmania: snowvalley,
|
spermmania: snowvalley,
|
||||||
handjobjapan: snowvalley,
|
handjobjapan: snowvalley,
|
||||||
fellatiojapan: snowvalley,
|
fellatiojapan: snowvalley,
|
||||||
|
|
@ -378,9 +401,7 @@ const scrapers = {
|
||||||
wifey: vixen,
|
wifey: vixen,
|
||||||
vrcosplayx: badoink,
|
vrcosplayx: badoink,
|
||||||
wankzvr,
|
wankzvr,
|
||||||
wicked: gamma,
|
|
||||||
wildoncam: cherrypimps,
|
wildoncam: cherrypimps,
|
||||||
xempire: gamma,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@ const knex = require('../src/knex');
|
||||||
const actors = [
|
const actors = [
|
||||||
// jules jordan
|
// jules jordan
|
||||||
{ entity: 'julesjordan', name: 'Vanna Bardot', fields: ['height', 'dateOfBirth', 'measurements', 'description', 'avatar'] },
|
{ entity: 'julesjordan', name: 'Vanna Bardot', fields: ['height', 'dateOfBirth', 'measurements', 'description', 'avatar'] },
|
||||||
// gamma
|
|
||||||
{ entity: 'wicked', name: 'Abella Danger', fields: ['gender', 'avatar', 'description'] },
|
|
||||||
{ entity: 'xempire', name: 'Abella Danger', fields: ['gender', 'avatar', 'description'] },
|
|
||||||
// vixen
|
// vixen
|
||||||
{ entity: 'vixen', name: 'Abella Danger', fields: ['gender', 'avatar', 'description'] },
|
{ entity: 'vixen', name: 'Abella Danger', fields: ['gender', 'avatar', 'description'] },
|
||||||
{ entity: 'tushy', name: 'Abella Danger', fields: ['gender', 'avatar', 'description'] },
|
{ entity: 'tushy', name: 'Abella Danger', fields: ['gender', 'avatar', 'description'] },
|
||||||
|
|
@ -81,6 +78,38 @@ const actors = [
|
||||||
{ entity: 'sweetsinner', name: 'Anna Claire Clouds', fields: ['avatar', 'gender'] },
|
{ entity: 'sweetsinner', name: 'Anna Claire Clouds', fields: ['avatar', 'gender'] },
|
||||||
// bangros
|
// bangros
|
||||||
{ entity: 'bangbros', name: 'Kira Perez', fields: ['avatar', 'gender', 'ethnicity', 'hairColor'] },
|
{ entity: 'bangbros', name: 'Kira Perez', fields: ['avatar', 'gender', 'ethnicity', 'hairColor'] },
|
||||||
|
// gamma
|
||||||
|
{ entity: '21sextury', name: 'Aletta Ocean', fields: ['avatar', 'gender', 'description', 'eyes', 'hairColor'] },
|
||||||
|
{ entity: 'biphoria', name: 'Cherry Kiss', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'blowpass', name: 'Jynx Maze', fields: ['avatar', 'description', 'gender'] },
|
||||||
|
{ entity: 'burningangel', name: 'Joanna Angel', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'chaosmen', name: 'Kenzo Alvarez', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'dogfartnetwork', name: 'Liz Jordan', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'diabolic', name: 'Kira Noir', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'evilangel', name: 'Francesca Le', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'fantasymassage', name: 'Cherry Kiss', fields: ['avatar', 'gender', 'description', 'eyes', 'hairColor'] },
|
||||||
|
{ entity: 'filthykings', name: 'Armani Black', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'gangbangcreampie', name: 'Luna Lovely', fields: ['avatar', 'gender', 'description'] },
|
||||||
|
{ entity: 'girlsway', name: 'Adriana Chechik', fields: ['avatar', 'gender', 'description', 'eyes', 'hairColor'] },
|
||||||
|
{ entity: 'gloryholesecrets', name: 'Maya Bijou', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'pridestudios', name: 'Peter Hooke', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'puretaboo', name: 'Jane Wilde', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'tabooheat', name: 'Cory Chase', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'vivid', name: 'Avi Love', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'wicked', name: 'Abella Danger', fields: ['gender', 'avatar', 'description'] },
|
||||||
|
{ entity: 'xempire', name: 'Abella Danger', fields: ['gender', 'avatar', 'description'] },
|
||||||
|
// gamma > zero tolerance / stod
|
||||||
|
{ entity: '3rddegreefilms', name: 'Angel Dark', fields: ['gender', 'avatar'] },
|
||||||
|
{ entity: 'addicted2girls', name: 'Abigail Mac', fields: ['gender', 'avatar'] },
|
||||||
|
{ entity: 'zerotolerancefilms', name: 'Courtney Cummz', fields: ['gender', 'avatar'] },
|
||||||
|
{ entity: 'genderxfilms', name: 'Kasey Kei', fields: ['gender', 'avatar'] },
|
||||||
|
// gamma > famedigital
|
||||||
|
{ entity: 'roccosiffredi', name: 'Malena Nazionale', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'famedigital', name: 'Hime Marie', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'peternorth', name: 'Carmen Caliente', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'silverstonedvd', name: 'Leanni Lei', fields: ['avatar', 'gender'] },
|
||||||
|
{ entity: 'silviasaint', name: 'Silvia Saint', fields: ['avatar', 'gender', 'description'] },
|
||||||
|
{ entity: 'whiteghetto', name: 'Proxy Paige', fields: ['avatar', 'gender', 'description'] },
|
||||||
];
|
];
|
||||||
|
|
||||||
const actorScrapers = scrapers.actors;
|
const actorScrapers = scrapers.actors;
|
||||||
|
|
@ -183,7 +212,7 @@ async function init() {
|
||||||
}, include);
|
}, include);
|
||||||
|
|
||||||
console.log(profile);
|
console.log(profile);
|
||||||
console.log('Untested fields', Object.entries(profile).filter(([field, value]) => !actor.fields.includes(field) && typeof value !== 'undefined' && value !== null).map(([field]) => field).join(', '));
|
console.log('Untested fields', Object.entries(profile).filter(([field, value]) => !actor.fields.includes(field) && typeof value !== 'undefined' && value !== null).map(([field]) => `'${field}'`).join(', '));
|
||||||
|
|
||||||
if (!profile) {
|
if (!profile) {
|
||||||
assert.fail('profile not found');
|
assert.fail('profile not found');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue