forked from DebaucheryLibrarian/traxxx
Allowing --actors-update to be used without --actors.
This commit is contained in:
parent
d14034d38b
commit
f8c9b69f4b
|
@ -25,7 +25,7 @@ async function init() {
|
|||
const actorsFromFile = argv.actorsFile && await getFileEntries(argv.actorsFile);
|
||||
const actorNames = (argv.actors || []).concat(actorsFromFile || []);
|
||||
|
||||
const actors = (argv.actors || argv.actorsFile) && await scrapeActors(actorNames);
|
||||
const actors = (argv.actors || argv.actorsUpdate || argv.actorsFile) && await scrapeActors(actorNames);
|
||||
const actorBaseScenes = argv.actors && argv.actorScenes && actors.map(actor => actor.releases).flat().filter(Boolean);
|
||||
|
||||
const updateBaseScenes = (argv.all || argv.channels || argv.networks || argv.movies) && await fetchUpdates();
|
||||
|
|
Loading…
Reference in New Issue