forked from DebaucheryLibrarian/traxxx
Added option to fetch all of an actor's releases (for supporter scrapers), and a utility to extract posters.
This commit is contained in:
@@ -22,7 +22,13 @@ async function init() {
|
||||
}
|
||||
|
||||
if (argv.actors && argv.actors.length > 0) {
|
||||
await scrapeActors();
|
||||
const actors = await scrapeActors();
|
||||
|
||||
if (argv.withReleases) {
|
||||
const releases = actors.map(actor => actor.releases).flat();
|
||||
|
||||
await scrapeReleases(releases, null, 'scene');
|
||||
}
|
||||
}
|
||||
|
||||
if (argv.actors && argv.actors.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user