Not fetching basic actors when actor names are supplied. Set default media directory to ./media.

This commit is contained in:
ThePendulum 2020-01-25 03:26:49 +00:00
parent 0ad2952563
commit 68f9043910
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
node_modules/ node_modules/
dist/ dist/
log/ log/
media/
public/js/* public/js/*
public/css/* public/css/*
config/* config/*

View File

@ -41,7 +41,7 @@ module.exports = {
], ],
fetchAfter: [1, 'week'], fetchAfter: [1, 'week'],
media: { media: {
path: './', path: './media',
thumbnailSize: 320, // width for 16:9 will be exactly 576px thumbnailSize: 320, // width for 16:9 will be exactly 576px
thumbnailQuality: 90, thumbnailQuality: 90,
limit: 25, // max number of photos per release limit: 25, // max number of photos per release

View File

@ -25,7 +25,7 @@ async function init() {
await scrapeActors(); await scrapeActors();
} }
if (argv.actors) { if (argv.actors && argv.actors.length === 0) {
await scrapeBasicActors(); await scrapeBasicActors();
} }