Added Virtual Taboo (including OnlyTarts).

This commit is contained in:
DebaucheryLibrarian
2025-02-24 02:53:46 +01:00
parent a114211e87
commit 06f9efa492
4 changed files with 180 additions and 5 deletions

View File

@@ -775,7 +775,7 @@ async function scrapeActors(argNames) {
const entitySlugs = sources.flat();
const [entitiesBySlug, existingActorEntries] = await Promise.all([
fetchEntitiesBySlug(entitySlugs, { types: ['channel', 'network', 'info'] }),
fetchEntitiesBySlug(entitySlugs, { types: ['channel', 'network', 'info'], prefer: argv.prefer }),
knex('actors')
.select(knex.raw('actors.id, actors.name, actors.slug, actors.entry_id, actors.entity_id, row_to_json(entities) as entity'))
.whereIn('actors.slug', baseActors.map((baseActor) => baseActor.slug))