Added attributes field to help with entry ID migrations, trial with Team Skeet.

This commit is contained in:
DebaucheryLibrarian
2026-02-03 05:33:47 +01:00
parent a77e13c7de
commit ccd833665f
2 changed files with 8 additions and 1 deletions

View File

@@ -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;