Added upcoming, profile and detailed scene actor scraping to InTheCrack. Fixed clip upsert.
This commit is contained in:
@@ -263,7 +263,7 @@ async function storeClips(releases) {
|
||||
clip: clip.clip,
|
||||
}));
|
||||
|
||||
const storedClips = await bulkInsert('clips', curatedClipEntries);
|
||||
const storedClips = await bulkInsert('clips', curatedClipEntries, ['release_id', 'clip']);
|
||||
const clipIdsByReleaseIdAndClip = storedClips.reduce((acc, clip) => ({
|
||||
...acc,
|
||||
[clip.release_id]: {
|
||||
|
||||
Reference in New Issue
Block a user