Added attributes field to help with entry ID migrations, trial with Team Skeet.
This commit is contained in:
@@ -45,6 +45,11 @@ async function scrapeScene(scene, channel, parameters, includeTrailers) {
|
||||
const release = {};
|
||||
|
||||
release.entryId = scene.id;
|
||||
|
||||
release.attributes = {
|
||||
entryId: scene.itemId,
|
||||
};
|
||||
|
||||
release.url = `${channel.type === 'network' || channel.parameters?.layout === 'organic' ? channel.url : channel.parent.url}/movies/${release.entryId}`;
|
||||
|
||||
release.title = scene.title;
|
||||
|
||||
Reference in New Issue
Block a user