Splitting Han titles and actors in Model Media scraper.
This commit is contained in:
@@ -32,6 +32,7 @@ async function curateReleaseEntry(release, batchId, existingRelease, type = 'sce
|
||||
|
||||
const curatedRelease = {
|
||||
title: decode(release.title),
|
||||
alt_titles: release.altTitles?.map((title) => decode(title)),
|
||||
entry_id: release.entryId || null,
|
||||
entity_id: release.entity.id,
|
||||
studio_id: release.studio?.id || null,
|
||||
@@ -46,6 +47,8 @@ async function curateReleaseEntry(release, batchId, existingRelease, type = 'sce
|
||||
updated_batch_id: batchId,
|
||||
};
|
||||
|
||||
console.log(curatedRelease);
|
||||
|
||||
if (release.id) {
|
||||
// release is updated
|
||||
curatedRelease.id = release.id;
|
||||
|
||||
Reference in New Issue
Block a user