Changed --inspect to --report to avoid conflict with Node's own debug tools.
This commit is contained in:
parent
f5939c81d3
commit
be1821b9eb
|
@ -795,7 +795,7 @@ const tagPhotos = [
|
|||
['facefucking', 3, 'Adriana Chechik in "Performing Magic Butt Tricks With Jules Jordan. What Will Disappear In Her Ass?" for Jules Jordan'],
|
||||
['fake-boobs', 14, 'Rikki Six for Dream Dolls'],
|
||||
['fake-boobs', 2, 'Gia Milana in "Hot Anal Latina" for HardX'],
|
||||
['fake-boobs', 17, 'Felina in "With Flors On The Floor" for LouisDeMirabert'],
|
||||
['fake-boobs', 17, 'Felina in "With Flowers On The Floor" for LouisDeMirabert'],
|
||||
['fake-boobs', 18, 'Ebony Godess for Action Girls'],
|
||||
['fake-boobs', 1, 'Lela Star in "Thick" for Jules Jordan'],
|
||||
['fake-boobs', 16, 'Marsha May in "Once You Go Black 7" for Jules Jordan'],
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const config = require('config');
|
||||
const util = require('util');
|
||||
const Promise = require('bluebird');
|
||||
const moment = require('moment');
|
||||
const blake2 = require('blake2');
|
||||
|
@ -731,8 +732,8 @@ async function scrapeActors(argNames) {
|
|||
|
||||
logger.info(`Scraped ${profiles.length} profiles`);
|
||||
|
||||
if (argv.inspect) {
|
||||
console.log(profiles);
|
||||
if (argv.report) {
|
||||
console.log(util.inspect(profiles, { depth: Infinity, colors: true }));
|
||||
}
|
||||
|
||||
if (argv.save) {
|
||||
|
|
|
@ -66,7 +66,7 @@ async function init() {
|
|||
const movieScenes = argv.movieScenes ? deepMovies.map(movie => movie.scenes?.map(scene => ({ ...scene, entity: movie.entity }))).flat().filter(Boolean) : [];
|
||||
const deepMovieScenes = argv.deep ? await fetchScenes(movieScenes) : movieScenes;
|
||||
|
||||
if (argv.inspect) {
|
||||
if (argv.report) {
|
||||
console.log(util.inspect(deepScenes, { depth: Infinity, colors: true }));
|
||||
console.log(util.inspect(deepMovies, { depth: Infinity, colors: true }));
|
||||
}
|
||||
|
|
|
@ -223,7 +223,7 @@ const { argv } = yargs
|
|||
type: 'boolean',
|
||||
default: true,
|
||||
})
|
||||
.option('inspect', {
|
||||
.option('report', {
|
||||
describe: 'Show data in console.',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
|
|
|
@ -29,7 +29,6 @@ function scrapeAllA(scenes, channel) {
|
|||
release.tags = query.cnts('.tags a');
|
||||
release.rating = query.number('.thumb-rating');
|
||||
|
||||
console.log(release);
|
||||
return release;
|
||||
});
|
||||
}
|
||||
|
@ -63,7 +62,6 @@ function scrapeSceneA({ query }, url, channel) {
|
|||
|
||||
release.trailer = query.url('a[href*="get_file/"], .download a');
|
||||
|
||||
console.log(release);
|
||||
return release;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue