Fixed expect instead of expectType property in Bang scraper.

This commit is contained in:
DebaucheryLibrarian
2026-03-27 03:12:07 +01:00
parent d60cf83f84
commit 69d410666d

View File

@@ -78,7 +78,7 @@ function scrapeAll(scenes, entity) {
posterUrl.href, posterUrl.href,
].map((src) => ({ ].map((src) => ({
src, src,
expect: { expectType: {
'application/octet-stream': 'image/jpeg', 'application/octet-stream': 'image/jpeg',
}, },
})); }));
@@ -157,7 +157,7 @@ async function scrapeScene({ query }, { url, entity }) {
if (poster) { if (poster) {
release.poster = { release.poster = {
src: poster, src: poster,
expect: { expectType: {
'application/octet-stream': 'image/jpeg', 'application/octet-stream': 'image/jpeg',
}, },
}; };
@@ -175,7 +175,7 @@ async function scrapeScene({ query }, { url, entity }) {
release.photos = query.sourceSets('div[data-controller] a[href^="/photos"] img').map((src) => ({ release.photos = query.sourceSets('div[data-controller] a[href^="/photos"] img').map((src) => ({
src, src,
expect: { expectType: {
'application/octet-stream': 'image/jpeg', 'application/octet-stream': 'image/jpeg',
}, },
})); }));