Added cap image type expectation to Aziani.

This commit is contained in:
DebaucheryLibrarian 2025-04-08 23:21:06 +02:00
parent 035c59255c
commit 535864bdd1
1 changed files with 6 additions and 1 deletions

View File

@ -51,7 +51,12 @@ function scrapeScene(data, channel, parameters) {
? Object.keys(item.thumb).toSorted((keyA, keyB) => keyB.split('-')[0] - keyA.split('-')[0]).map((key) => item.thumb[key][0]).filter(Boolean)
: []),
])
.map((sources) => sources.map((source) => unprint.prefixUrl(`${source.fileuri}?${source.signature}`, parameters.cdn)));
.map((sources) => sources.map((source) => ({
src: unprint.prefixUrl(`${source.fileuri}?${source.signature}`, parameters.cdn),
expectType: {
'application/octet-stream': 'image/jpeg',
},
})));
if (teaser && teaser.fileuri !== trailer?.fileuri) {
release.teaser = unprint.prefixUrl(`${teaser.fileuri}?${teaser.signature}`, parameters.cdn);