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,
].map((src) => ({
src,
expect: {
expectType: {
'application/octet-stream': 'image/jpeg',
},
}));
@@ -157,7 +157,7 @@ async function scrapeScene({ query }, { url, entity }) {
if (poster) {
release.poster = {
src: poster,
expect: {
expectType: {
'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) => ({
src,
expect: {
expectType: {
'application/octet-stream': 'image/jpeg',
},
}));