Pass actor's gender to the scraper #32

Open
opened 2021-02-11 00:11:36 +00:00 by Ghost · 0 comments

ambigous single named actors can change gender with scrappers, eg alex.

In actors.js


	const [entitiesBySlug, existingActorEntries] = await Promise.all([
		fetchEntitiesBySlug(entitySlugs, 'desc'),
		knex('actors')
			.select(['id', 'name', 'slug', 'entry_id', **'gender'**])
			.whereIn('slug', baseActors.map(baseActor => baseActor.slug))
			.whereNull('alias_for'),
	]);
ambigous single named actors can change gender with scrappers, eg alex. In actors.js ``` const [entitiesBySlug, existingActorEntries] = await Promise.all([ fetchEntitiesBySlug(entitySlugs, 'desc'), knex('actors') .select(['id', 'name', 'slug', 'entry_id', **'gender'**]) .whereIn('slug', baseActors.map(baseActor => baseActor.slug)) .whereNull('alias_for'), ]); ```
Ghost changed title from Pass actor's gender to the scrapper to Pass actor's gender to the scraper 2021-02-11 23:06:00 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: DebaucheryLibrarian/traxxx#32
No description provided.