forked from DebaucheryLibrarian/traxxx
Experimenting using GraphQL in favor of REST.
This commit is contained in:
@@ -12,13 +12,13 @@ const { scrapeActors, scrapeBasicActors } = require('./actors');
|
||||
|
||||
async function init() {
|
||||
if (argv.scene) {
|
||||
await Promise.map(argv.scene, async url => scrapeRelease(url, null, false, false), {
|
||||
await Promise.map(argv.scene, async url => scrapeRelease(url, null, false, 'scene'), {
|
||||
concurrency: 5,
|
||||
});
|
||||
}
|
||||
|
||||
if (argv.movie) {
|
||||
await Promise.map(argv.movie, async url => scrapeRelease(url, null, false, true), {
|
||||
await Promise.map(argv.movie, async url => scrapeRelease(url, null, false, 'movie'), {
|
||||
concurrency: 5,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user