Not fetching basic actors when actor names are supplied. Set default media directory to ./media.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,6 +1,7 @@
|
||||
node_modules/
|
||||
dist/
|
||||
log/
|
||||
media/
|
||||
public/js/*
|
||||
public/css/*
|
||||
config/*
|
||||
|
||||
@@ -41,7 +41,7 @@ module.exports = {
|
||||
],
|
||||
fetchAfter: [1, 'week'],
|
||||
media: {
|
||||
path: './',
|
||||
path: './media',
|
||||
thumbnailSize: 320, // width for 16:9 will be exactly 576px
|
||||
thumbnailQuality: 90,
|
||||
limit: 25, // max number of photos per release
|
||||
|
||||
@@ -25,7 +25,7 @@ async function init() {
|
||||
await scrapeActors();
|
||||
}
|
||||
|
||||
if (argv.actors) {
|
||||
if (argv.actors && argv.actors.length === 0) {
|
||||
await scrapeBasicActors();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user